You need some earth clamps
and some 4mm Green&Yellow Sheathed earth wire.
You connect the earth wire to an earth terminal of each electric circuit that enters your bathroom. this is usually the Shower circuit and the Lighting circuit,but may also include immersion heater, central heating pump,shaver socket. The pull-cord switches can be used for this and you can probably run the wire in the ceiling for neatness.
You then must connect the earth wire (using the pipe clamps) to every metallic service that enters the bathroom.this is usually hot water,cold water,central heating but may include lead waste pipes or iron soil pipes.
The objective is to ensure that all the Earth Conductors from all the circuits are bonded together, and to all the metallic services. Note that you only need to bond each pipe once,where it enters the bathroom,or just outside e.g.in an adjacent airing cupboard. So you do not for example have to bond the cold water pipe at the basin, the WC cistern, the bidet tap and the bath tap.
Equally you only need to bond each electrical circuit once, so you do not need to bond at the light switch, the wall lamp, the ceiling lamp and the spotlamps, if they are all on the same lighting circuit. Nor the shower switch and the shower heater as well.
If you have a metal bath, then you bond the hot water pipe and the cold water pipe,and the waste pipe if metal. unless the bath projects out of the bathroom through a hole in the wall it cannot pick up a voltage from outside the room,so you do not need to bond it. You bond the metallic services that enter the bathroom from outside. You do not have to bond metal soap dishes or coat hangers.
This is called Supplementary Bonding and you can read all about it ion dozens of other posts on here.