onion in socks??

My 9 month old is sick, we go to the doctor tomorrow but I seen on facebook that onion in the socks help get rid of sickness?? I know not to believe everything I see especially facebook but it couldn’t hurt? Has anyone tried this before??