Hip pain

Al
When I sleep at night my hips hurt so bad. I walk every night, 20-30 mins around my neighborhood thinking the exercise would help but it hasn't. I sleep with my pregnancy pillow and still my hips are sore feeling. Anyone else? What else can I do?