Turn off the power, swap the switch terminals like-for-like, then test both switches operate the light safely.
Replacing a light switch like-for-like is not notifiable work under Part P of the Building Regulations. It must still meet the UK Wiring Regulations (BS 7671). If the switch is inside a bathroom or near a bath or shower, that's a special location under Part P — get a qualified electrician instead.
Before you start: Which electrical jobs can I do myself? Part P explained
Travis Perkins and Tooled Up links are affiliate links: if you buy after clicking, we may earn a small commission at no extra cost to you. B&Q and Amazon links are plain searches and earn us nothing.
Save this as a project