As you have told in your query that pus is coming out. So this is probably infection of the part or abscess
. You need a course of effective antibiotic and anti-inflammatory drugs. Analgesic
drugs can be used to reduce pain. Consult your doctor as soon as possible and get examined your site so that he can give you a proper advise and treatment.
Keep the site clean and don't try to squeeze it. Can do aseptic dressing if it is oozing.