When performed by a dermatologist, acne extraction is a safe way to get rid of blackheads and whiteheads. Another technique that dermatologists use allows them to get rid of a deep, painful acne cyst or nodule. ... It cannot be used to treat several acne blemishes.