I've just bought a new Behringer Distortion X300 Thrash Metal Effects Pedal.

I've never had a pedal before, and I was wondering how do i set it up. I know how a pedal works, but how do I hook it up to my amplifer, and my guitar.
A cable from your amp to your pedal, then another cable from your pedal to your guitar. Either put in batteries in the pedal or buy an adapter which you then gently insert into a power outage.
Your guitar plugs into where it will say input or 'in' and then plug from the output into your amp.
plug a cable from your guitar into the pedal input socket, plug another cable from the pedal output socket into the amp input socket.

that would be my guess
just throw that piece of crap out.
My name is Charlie.

Gretsch Electromatic Pro Jet
Fender Deville 410
Electro-Harmonix USA Big Muff
Digitech Whammy IV
MXR Micro Amp
Dunlop Crybaby Wah