Here are some steps you can take to fix flickering lights:

1. Tighten the light bulbs. If the bulbs are loose, they may not be making proper contact with the socket. Turn off the light and wait for it to cool down before tightening the bulb.

2. Check the wiring in your light switches. Loose wiring can cause flickering lights. Turn off the power to the switch and check that all wires are securely connected.

3. Replace the light switch. If you have an old or faulty switch, it may be causing your lights to flicker. You can swap the switch with one from another room that you know is working to see if it works in the room that’s flickering.

4. Use LED decoders, load resistors, warning cancellers, anti-flicker adaptors, capacitors, constant current drivers or adjust voltages of different parts of your computer if you have LED lights.

5. Ensure your light bulb is firmly connected in the socket.

6. Use the right type of bulb for your circuit or dimmer system.

7. Check all loose or outdated connections and replace them.

I hope this helps!