well i done it. i had messed up the wiring on the switch
You messed up because you know so little about electrics that you don't even understand how current flows in a circuit, what the difference is between live & neutral, and how a switch works
and it needed to be the fused sper swith thing
It needed to be one of those for safety, not to stop it tripping the circuit breaker.
and no i am not that competent with electric but i gave it a go and it paid off
What you did was to keep trying things until you found one that stopped causing an immediate problem with the breaker.
. What type of cable have you run to the shed?
. How is it installed?
. Where does it get its supply?
. What size is it?
. What is the rating of its protective device?
. How long is it?
. Where is the RCD protection?
. Do you have a TT, TN-S or TN-C-S supply?
. Do you have extraneous-conductive-parts in the shed and have you exported a PME earth when you shouldn't?
. How have you verified continuity, polarity and fault loop resistance?
None of those questions are esoteric, or asked in order to put you down - they are all very real and very important. If you don't know what they all mean, and what the answers are then you do not know enough to have done this work.
Nor is anybody expressing concern about these things because of some secret agenda to stop DIY electrical work - I'm a DIYer myself for example,
but you or someone else could die if you've got some of them wrong.