The short answer is that you should have used a qualified electrician! Apologies if this is in anyway insulting, but if you don't understand how a loop in lighting circuit works, its better to leave well alone.
In the UK we commonly use a wiring system for lighting circuits know as the "loop in system" also refered to as "3 plate".
The No1 DIY'er mistake it to take down the old light without noting the order of the connections. When putting the new light up, they then make an assumption and put all like coloured cables together and connect them up.
For example they put all the reds or browns in one terminal and all the blacks or blues in the other without realising that one of the blacks or blues is in fact the live return from the light switch.
The result of this is that the light will be on when the light switch is in the off position and then as soon as the light switch is operated the fuse or circuit breaker will blow / trip out the circuit, often with a bang and a flash.
Whilst a very good DIYer maybe able to sort it out, once you have mixed up the three cables it can take a while to identify which one is the switch, as the grouped cables need to be separated and the return from the switch identified. So the best solution is to call a qualified electrician to sort it out. Normally a ten minute job!
Hope this helps, if it does please click on the "like" button.