VW polo 1.2 1002 - engine management light, poor idle - flobelle

Over past two months my engine management light has been on and off, but car running okay. A couple of occassion car reluctant ot start, but did eventually. Today after using the car, returned after 2 hours, car would not start first time, eventually did, engine management light flashing then on all the time, car idle very poor, sounds misfiring. Could this be a coil, HT leads or plugs? Are they easy to fix?

Flo