Sounds silly, take it to your local KwikFit and get them to run a free diagnostics... if that doesn’t work (they often clear the system).
Then go get some MAF cleaner n give it a squirt! I had the exact same issue a few weeks ago until it got to the point which the car wouldn’t start...
Sent from my iPhone using Tapatalk