Dear
Your symptoms are suggestive of some injury to your right shoulder joint.
Next Steps
It would be wise to get an MRI of the right shoulder.
Health Tips
You can stop swimming and avoid heavy lifting of weights for a week.
If the pain subsides you can avoid the MRI and feel lucky.
God bless.