It can be back muscle spasm and Hip sprain
. I would suggest you to get a spine and hip x ray
to confirm the diagnosis. Till that time you can start taking muscle relaxant
, Like myoril or myospaz. Also you should use warm shower at least twice in a day and can apply diclofenac
ointment at back.