Does someone know the laws about doing electrical diy?

Someone know what are the rules and/or laws (if any) governing installing and maintaining electrical devices/fittings in uk by unqualified homeowners?i have always "done my own" but a friend told me the rules had changed recently, or are they about to change??any sites or info would be useful
Answer
Despite popular belief you are still allowed to do certain smaller items of electrical work if competent, here is a summary of notifiable work. i am assuming that you are in england? part p does not apply in scotland where other similar regulations have always existed.