First, make sure to keep your face as clean as possible. And try not to touch your face with your hands - which are usually the most dirty...
Have you been using a new soap or makeup? Or even detergent? Try to figure out why these bumps are appearing... If you can't think of anything, maybe a trip to the Dr wouldn't be so bad. Especially if the gunk that came out was a lot or something really out of the ordinary.
Meant to say Gunk came out