There are several things you can do to prevent a cold. they are all easy.
-Always wash your hands after coughing
into your hands, blowing your nose, after touching someone who is sick, or when using public restrooms or telephones.
-Cover your mouth and nose when you sneeze or cough.
-Get plenty of rest/sleep.staying at home will keep you from spreading germs.Avoid people who have a cold or cold symptoms.
-Drink plenty of fluids(veg/tomato soups,dal water/coconut water/herbal tea etc), and eat nutritious food(like sprouts/boiled eggs without yolk with milk). Avoid foods or drinks with caffeine which can impair your sleep
-Treatment:A cold usually lasts for a week or two. Unless you develop complications, you shouldn't need medical treatment.
-Complications like infections of the ears, throat, sinuses or lungs must be treated with antibiotics.
-Gargle to keep from getting a sore throat.
-Use saline nasal sprays or nasal irrigation.
-Tablet nasorest-p once/twice daily may ease breathing.
-Do steam inhalation once or twice daily