If you want to use a compact fluorescent bulb in a dimmer switch, you have to buy one made specifically for dimmers. Fluorescents, in general, do not work with dimmers.