If it sounds like it is running out of fuel then 99% chance that is exactly what it is doing.
So usually this will be a blocked main jet in the carb
Next most common fault is stuck or blocked needle in the carb'
So it is off with the carb, pull it apart and give it a good cleaning .