It depends on the severity of the salivary gland infection. Viral infections such as mumps may last for 10 days. Symptoms will go down faster with the above remedies and treatment with antibiotics.