Hi, This appears to be a pain of Costochondritis. Costochondritis typically affects the joints of the ribs at the breast bone, it can also affect the ribs and intercostal muscles at the back. Alternatively, it may also be a simple sprain of the muscles. You can try the following options:
Physical exercise: Physical exercise is undoubtedly the most important. You will have to do some regular stretching exercises for the back; this is usually a very successful method. They should be done under medical supervision, it is best if you consult a physiotherapist for this.
Heat compresses: Heat compresses either superficially with a warm heat pack, or deep heat with ultrasound therapy, should be tried.
You will have to talk with your doctor regarding some of these options. You should consult a GP or Family Physician and discuss about costochondritis with him. If necessary, he will refer you to a specialist, an Orthopaedician. You can look up here:
I hope this answer was helpful. If you need more information, feel free to ask. For accepting this answer, please click on the green 'accept' button below. Feedback/Bonus will be warmly appreciated.