Has anyone else had this issue? If so do you know of any remedies that at least help with it?

We have a memory foam bed and I loved it till I got pregnant. Laying on my side always leaves my hips in pain our memory foam doesn't seem to have much give to it and I think that's the cause of pain. I started getting uncomfortable around 8 weeks and added an egg crate foam on top of it and that seemed to help, till a week or so ago. All suggestions are welcomed!!