explosions on my 318..

on deceleration, it backfires, but hauls good when you're on the gas, do you have an exhaust/header leak ?