How to deal with rib pain 36 weeks?

p • Baby girl 💗👶🏼 6-17-2021

I am literally not sleeping 🥲 every time I lay down I have sharp uncomfortable aching pains in my ribs. It’s better if I lay on my right side but my doctor said to try and be on my left. How did you guys deal with this?