Which foods prevent you from having cold?

I have been having common cold for more than one month after given some medication from the doctor. If possible please give me the medicine I should take.