That sounds like it could be TMJ. Either way, try taking a NSAID, and lay down and RELAX with a heat or cold pack. Relaxing is very important. When you stress about it, you're tensing your muscles and making it hurt worse. Also make sure you take the medicine when it's due.