Thanks for writing to us.
It seems that you have suffered a muscle injury
or a tendon damage due to the sudden motion. You need to give adequate rest to your arm and do a hot fomentation. Do consult your orthopedician to rule out any bony injury after an examination.
I hope this information has been both informative and helpful for you.
Dr. Praveen Tayal