Hi.. Ruptured sebaceous cyst can get infected if exposed externally and the chances of inducing infection is higher if you do not use asepsis when cleaning it.. Moreover the cyst has to be completely removed along with the wall to prevent recurrence.. So instead of you doing it by yourself, take a dermatologist help in doing that...