pain in thighs and back pain

Fatima • 💍married to the love of my life 29....first baby girl👶🏻Naya*bday: may18

i have so much pain in my thighs at night when im laying down to sleep it so hard to sleep on both of my sides..and during the day my back hurts like crazy but its only the top portion on my back what should i do??? im 22weeks