Flickering lights are one of the most common reasons people call an electrician. Some causes are trivial. Some are not.
One light flickers
Usually a loose bulb, a bulb that is not compatible with the dimmer, or a worn fixture or switch. A simple electrical repair solves it.
Lights dim when an appliance starts
A brief dip when the AC or a pump starts is common. A deep or lasting dip suggests an overloaded circuit or undersized service.
Lights flicker in several rooms
This points to something shared: a loose connection in the panel, at the meter or at the utility connection. Loose connections generate heat, so have electrical troubleshooting done promptly.
Flicker with a burning smell, buzzing or warm outlets
Turn the circuit off and call an emergency electrician.
A good time to upgrade
If your fixtures are old, new lighting installation with quality LED fixtures and matched dimmers ends flicker for good.