Hi, thanks for writing to HCM.
If you are able to walk normally and able to bend forwards without any issues, any major bony injury can be ruled out either in your hip or spine.
It could be a blunt injury
causing a soft tissue
contusion producing pain. Generally this should subside with
* ice compressions
* muscle relaxant
If symptoms are persisting , then you need an orthosurgeons consultation.
Hope this helps