Mercedes Benz 2009 A Class 150 Lights Problem

Mercedes Class A150 Reg 2009. All my lights went out on a recent short drive in early dark morning. Car was left standing for about 14 hours. Lights came back on, on starting. Then, after about 5 minutes travelling they went out again. What's the problem - car has about 73000 miles and two owners, well maintained.