Try changing the plugs to a slightly hotter ones (the part man will tell you which ones to get) bring your old ones with you. If this doesn't help then you are looking at having to overhaul the motor.
You can still drive it for a long time.
Costs could be a new set of plugs up to a new motor.