Rib pain

Ca

Ever since I hit 6 months my right rib hurts. Mainly if I’ve been sitting for more than 20 mins. Talked to the doctor. She just said it’s possibly because baby is up under there or my insides have shifted there. She recommended getting a massage. Anybody have anything else that they do, if you’ve experienced this too?