Is it a backfire (loud bang), or like a cough with a hesitation?
If it like the latter, it could be a too lean fuel mixture.