Welcome to health Care magic.
Based on the information provided by you, you might have had a furuncle ( Suppurative infection of hair follicle).
In the first place you should not have squeezed it. Anywayz as it is infected you need to take antibiotic preferably a cephalosporin
100 mg twice daily) along with metronidazole
( twicw daily). Along with that you need to take anti inflammatory drugs. Using medicines which contain Tryosin and chymotrypsin
or serratio peptidase will reduc the swelling to a great extent..
Hot water sponging would help you relieve the pain and swelling and it also helps in organising the abscess.
Clean the area daily with Betadine solution.
If there is pus pointing from the swelling , it should be drained.
Please see a surgeon or a gynaec and take treatment ( medicines/ drainage)accordingly.
Wish you a speedy recovery.