Assuming that they didn't buy the house 50 years ago, some people get away with many DIY jobs by simply saying that the job was done before they moved in. For significant DIY jobs done after you moved in (like new windows, major rewiring, etc.), you are required to obtain a certificate to say that the work was done to the appropriate standard. Councils do some inspections but you might need to get an electrician to inspect and certify the work.