Sore throat can be caused by a variety of factors, including colds, flu, allergies, and environmental irritants like smoke or pollution. To avoid sore throat, it is important to maintain good hygiene, avoid close contact with sick people, and stay hydrated. Additionally, avoiding smoking and exposure to environmental irritants can help prevent sore throat.