Do you pain in any of your teeth on the right side? If yes, then the issue is most probably because of a decayed tooth which has been infected badly. See your dentist immediately. You will be prescribed a course of antibiotics and the cause of infection will be diagnosed, which will be treated accordingly.
Next Steps
Don't delay. See your dentist immediately.