Injury to hip doing pigeon

Hello Yogis!

After a moderate hike a few days ago, I was practicing Yin and ended up with a fair amount of right hip flexor pain after being in pigeon. Does anyone have any advice or suggestions on how to relieve the pain with another type of pose?

I’ve already tried Tylenol & Advil as well as some topical pain balm but the relief is temporary.

TIA!