Alex Donbavand
Hi Ian This sounds like its a loose connection somewhere. If all the lights are being affected at the same time a good place to start looking would be the consumer unit. If two circuits are being affected it will be something common to them both. I do not recommend removing the cover from a consumer unit unless you know what you are doing.