Hello and Welcome to HCM,
Thanks for writing to us.
From description it seems to dislocation , subluxation or fracture
. You need an xray to confirm the bony injury
. I suggest you get it examined soon by orthopaedician and definitive treatment according to that. In the interim,apply ice packs to the affected area,anti-inflammatory drug like motrin
to reduce pain and inflammation. Avoid lifting and rest well.
Hope this helps you.
Wishing you good health...
Dr Saurabh Gupta.