If you have an infected blackhead that’s turned into a large, deep, painful cyst, you may need to have it drained by a dermatologist. This can be done with a quick in-office procedure. Alternatively, you can also ask your doctor about a corticosteroid shot.