Infection or inflammation of the tonsils can cause difficulty in swallowing, sore throat, and fever. It can be caused by bacterial or viral infections. Depending on the severity of the condition, the treatment may range from pain relief medications, antibiotics or surgery (tonsillectomy) in some cases.