Last night I was lying on my right side and heard a very loud pop. I lifted my head and my jaw was off centered. Grinted my teeth and then it popped back (almost like it was dislocated or something). Happened every time I laid my head on the pillow...doesn't happen when I'm standing or sitting up. Now I hear clicking noises and my teeth are slightly misaligned. I've had TMJ pain in the past when chewing gum, so now I'm wondering what is going on and how bad the joint really is now. What do they do for this? Also, do I go see the doctor or the dentist?