get a massage. Back off the weight. If that doesn't work, get some professional help.
When my hips were bothering me I did sets of 10, increasing weight until I couldn't get 10. Bar, 95,135,185,etc. This limited the weight I was able to use. Because I always felt better as I worked up, I assumed it was nothing serious. Soft tissue work, stretching, and some single leg work straightened me out.
Everything would feel pretty good after the 185 or 225 set. If it still hurts after some higher rep warm-up sets, probably need to see someone.