you're probably not getting enough fuel to the engine. Try replacing the fuel filter, its only like 6 bucks and its part of routine maintenance. Also you might want to get some fuel system cleaner. If youre still having trouble, you might have a problem with your fuel-pump. In that case get the fuel pressure checked.