Turn off the power, swap the old pull-cord switch for a new one, and fix it back securely to your wall type.
Bathrooms are a Part P special location. Like-for-like switch replacement on existing wiring is not notifiable, but any new circuit or rewiring in a bathroom is — get a qualified electrician if in doubt.
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