Thanks for your question on Health Care Magic.
I can understand your concern.
By your history and description, possibility of musculoskeletal cause like
costochondritis is more. It is inflammation of rib
cartilage.
Do following things for better symptomatic relief.
1. Avoid heavyweight lifting and strenuous exercise.
2. Avoid bad postures in sleep.
3. Avoid movements causing pain.
4. Start painkiller and
muscle relaxant drugs.
5. Apply warm water pad on affected areas.
6. Wear chest belt to prevent mobilisation of painful areas.
Don't worry, you will be alright in 1-2 weeks.
Hope I have solved your query.
Wish you good health. Thanks.