you got may be due to heat or some allergy
if you are using some deodorant and changed the brand may cause this problem.
Now pimples are big and red there is possiblity of having infection.
Go for one antibiotic course and antihistmines.
Clean with water and apply branded talcum powder.
ok and bye.