Thanks for your question on Healthcare Magic. 
I can understand your concern. 
By your history and description, possibility of 
costochondritis is more. 
It is inflammation of rib 
cartilage which is causing pain and swelling. 
So follow these steps for better symptomatic relief in costochondritis. 
1. Avoid movements causing pain. 
2. Avoid bad postures in sleep. 
3. Avoid heavyweight lifting and strenuous exercise. 
4. Apply warm water pad on affected areas. 
5. Take painkiller and 
muscle relaxant drug. 
6. Sit with proper back and chest support. 
7. Take calcium and 
vitamin D3 supplements for faster healing. 
Don't worry, you will be alright with all these. 
Hope I have solved your query. I will be happy to help you further. Wish you good health. Thanks.