As per your symptoms it suggest there is rib injury
to your back and chest so on sudden movement it leads to pain.
I will advise to take analgesic
sp and take rest.
Rib/chest belt will give you support to chest and back.
You can take cough
syrup to avoid pain while coughing,as it may take 3 weeks to heal.
Hope this answers your query. If you have additional questions or follow up queries then please do not hesitate in writing to us. I will be happy to answer your queries.
Wishing you good health.