a few things to check/do,
replace spark plugs (£20)
replace mixture lambda sensor - the one nearest the engine (£15 - £60)
replace coil pack (£150)
check timing chain hasn't jumped, any rattle on cold start up is a bad sign
personally I would check the chain first 🙁