Find the sources

Turn off your usual lighting and let your eyes adjust. Look for indicator lights, light under the door and any gaps around your curtains.

Tackle the source

Change device settings where you can. For a window, check for gaps at the sides of the curtains and above the curtain rail.

Keep a light within reach

If you need to get up at night, keep a low light somewhere you can reach easily so you can see where you are going.