Most probably,you are talking about Herpes Zoster
It not only occurs on hip,but also on any part of the body.
You should take Antiviral drug like Acyclovir
with the Consultation of Dermatologist
.It reduces Pain,prevent complications and shorten the course of disease.
Wish you good health and speedy recovery