Stained socks can be tricky to clean but social media users have recommended a secret tip to make them look as good as new.