Hi thanks for asking question.
Here are few possibilities in your case.
1.First according to history you have right side pain under breast so it might be by
costochondritis like inflammatory cause.In that case ribs are tender to touch.Analgesic or NSAIDs like antiinflammatory drug useful.
2.Second your ribs might have
osteoporosis like changes by vitamin D or
calcium deficiency.So get their level measured in serum and treated accordingly.As you have said secondary to these
rib fracture might present, x ray useful for it.
3.This could be simple muscloskeletal pain by improper sleep posture or unaccoustmed situation or heavy weight lifting.
4.If you have common cold,
sore throat then this could be as a part of viral infection.But if fever also present then pneumonia like infection has to be ruled out by chest x ray.Complete blood examination also helpful.
5.If along with chest pain breast mass palpable anywhere in breast or redness over any area of breast then breast infection or inflammation might lead pain.So this breast related possibilty also investigated after rulling out above problems.
I hope my suggestion will be helpful to you.
Dr.Parth