Extreme rib pain!!!!

Has anyone else had extreme rib pain during pregnancy? I have been in pain for about 3months as baby loves lying on my right side under my rib cage. 36 weeks pregnant and in the last week things have got even worse and I can't seem to sleep as it feels like the baby is twisting under the ribs and skin is tender to touch. I have tried exercising, hot baths, paracetamol, stretching and nothing seems to work!!!