Thanks for writing in.
From your description, it seems you had a sebaceous cyst
or a blocked hair follicle which you ruptured. This has now become infected due to which it is becoming increasingly red. I would suggest you apply neosporin
powder and soframycin
ointment on it. If it doesnt become ok, you would need to see your general physician for a prescription of oral antibiotics
Hope this helps