Back fire through carb - too lean or timing is off, or timing chain
Backfire though exhaust - timing is off or could need valve job, or timing chain