After driving for a long time hip pain may be caused by sitting for a long time, that is, pain caused by prolonged compression of the muscles or subcutaneous nerves on the hip. It is best to get out of the car for a period of time and take a walk to relieve the pain in the hip. It is also possible that the patient has a herniated disc, which can compress the spinal nerve root and cause pain on one or both sides of the hip. When the pain is unbearable, you need to rest, and if necessary, you can take oral pain medication to relieve it, such as Celecoxib. The pain may also be caused by a perianal abscess, which is usually seen in patients who have been sedentary for a long time and have hard nodes and pain in the anus.