I was eating a wrap this morning , and i did something to one side of my jaw.

it hurts when i open up so far, like i can open my mouth but when i get to a certain point it hurts on one side and clicks

does anyone know whats happening here? will it just go away?