I am glad to hear that you don't smoke or drink alcohol. If you have had
minor stomach issues before, it may be related to acid problems , may be
aggravated by ingestion of certain foods like spicy foods, citrous or excess
dairy products. Taking probiotics is O.K. That might keep your intestinal
As for the pain , it is possible to have a pinched nerve
in that area of the rib
or even as you suspect a muscle sprain
that could have happened
during some physical activity.
Topical pain relieving creams or gels are O.K. I would also suggest some
warm water compresses using a wash cloth or a towel few times a day.
Wish you well,