Mild to moderate hip flexor pain may improve with RICE: Rest, Ice, Compression, and Elevation. If your pain doesn't begin to improve after a week or two, it's time to connect with your doctor.