Thanks for your query, albeit short and not fully informative.
You have given a history of pain on the right side, which hurts on moving and eases when you do not move.
Whether this is about the chest or abdomen, the pain coming on movement is an indication that you should see your Doctor.
He shall do a clinical evaluation, actual physical examination, investigations and give you prescription based treatment on better diagnosis.
For the success of any treatment a proper diagnosis is very important.
I hope this answer helps you.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.