Standard home remedies for all types of hip discomfort include:

Nonprescription pain relievers
A small number of painkillers, such as ibuprofen (Motrin IB, Advil), acetaminophen (Tylenol), and naproxen sodium (Aleve), may help reduce the inflammation that may be aggravating or causing your hip pain.
Rest
Avoid performing activities that require a significant amount of hip flexion or pressure. Avoid sleeping on the bothersome side of your hip for an extended period of time.
Temperature and freezing
Using cold and heat to treat discomfort could be beneficial. For icing, wrap a container of ice or frozen vegetables in a towel and drape it over your hip. A tepid shower may also reduce your discomfort and muscle tension. (9)
Other seated home remedies for hip pain:
Stretching at work
Put on unrestricted clothing. Tight trousers, jeans or belts may cause hip pain while sitting. Adjust your seat height.
Apply ice or heat to the affected area
Even while seated, avoid wearing uncomfortable footwear or heels. They may cause your pelvis to tilt unevenly.
Perform pelvic and hip stretches, such as sitting on an exercise cushion.
Use ergonomic chairs that improve posture
Adjust the tilt and support of your seat
For muscle discomfort, try massage therapy with essential oils or pain relief ointments.
Utilise a seat with lumbar support