While you cannot prevent an allergy from developing, if you or your child have a confirmed milk allergy, you can prevent allergic reactions by avoiding cow's milk and food products that contain cow's milk.