The symptoms that you are having can be due to a boil or an abscess.The green colored discharge is pus. A boil, also referred to as a skin abscess, is a localized infection deep in the skin. A boil generally starts as a reddened, tender area. Over time, the area becomes firm and hard. Eventually, the center of the abscess softens and becomes filled with pus. Finally, the pus "forms a head," which can be surgically opened or spontaneously drain out through the surface of the skin.
Apply warm compresses on the boil and keep the area clean.Drainage of the boil is done only when it becomes soft and forms a head.Take some over the counter pain reliever and consult a doctor for examination and antibiotics prescription.If there are recurrent boils,then pls get your blood sugar levels estimated.
Hope it helps.Take care and pls do keep me posted on how you are doing or if you have any additional queries.
My son has an abcess drained at the hospital 3months ago. He was then put on antibiotics but the abcess keeps comig back. When draining it is green. The abcess is very close to the anus. He is awaiting an appointment with the specialist