Pull a spark plug to look for black soot.
Fix your throttle cable. Mine has got me home more than once when it started acting up from a hole which showed up in my accelerator pump
on my YF2100 (ethanol related).
What carburetor are you running? What engine?