Thank you for your query on Healthcare Magic.
Pus discharge from nipple is suggestive of bacterial infection leading to abscess
A course of oral antibiotics
are required to treat this infection.
And I suggest you not to squeeze the nipples.
And if the abscess is big it has to be drained under aseptic precautions.
Therefore consilt the doctor for examination and treatment.
Hope I have answered your query.