it may be due to allergic reaction
or due to heat .
u need to wear cotton and loose cloths
drink more water
take bath with cold
water twice a day.
stay in cold place .
u need to apply dusting powder .
as u have said ,pus come out from it .
apply antibiotic cream over that area only
better to consult dermatologist