Your parotid glands are major salivary glands. They’re located just beneath and in front of each ear. Each of your parotid glands produce about 10% of the total saliva in your mouth — even more when you eat. Sometimes, your parotid gland can become infected or swollen. Treatments may include antibiotics, warm compresses and massage.