What could be the cause of one sided jaw pain?

For almost a week the right side of my jaw hurts. It is by the ear where the jaw moves against the skull. I can hear and feel a poping noise when I open my mouth fully. What could be the cause/ and remedy for this?