The best way to prevent blackheads is by keeping your skin clean and clear of excess oils, dirt, and bacteria. This can be done through a daily routine of cleansing your face with warm water and an appropriate facial cleanser. Additionally, you can exfoliate weekly with a mild scrub or chemical exfoliant to help unclog pores. You should also use topical treatments containing ingredients like salicylic acid, glycolic acid, benzoyl peroxide or retinoid to control oil production and reduce the appearance of blackheads. Professional treatments such as microdermabrasion may also be beneficial when done correctly.