Thanks for posting your query.
It seems like a folliculitis
of the hair follicle. It has burst spontaneously, which is good. It is better to take a course of antibiotic like amoxicillin
for complete healing of the wound.
Once the healing is complete, your hair will regrow in the region.
I wish you quick recovery.