Welcome to HCM,
It seems that you might be having some boil or small abscess
formed on nipple.
This might be due to something bite or some minute injury
Go for one course of antibiotic and anti-inflammatory medicines.
Do not press much to remove pus as it may worsen the condition.
Do proper dressing with antibiotic cream.
Ok and bye.