Shoulder pain

Patient: I am a gymnast and yesterday I was doing a chin up and my shoulder just like popped. Not really but I just got a sharp pain and I felt like it was going to pop off. I thought it was nothing so I didn’t do anything. It still hurts now and when I put my arm up above my head it cracks every time. What should I do?