I take it you mean after-fire -- out the exhaust -- and not backfire -- back through the carburetor.
I got afterfires and loss of power in my truck when the distributor, which had not been properly clamped down, moved retarded. I checked, and I was at 4* AFTER top dead center.