Popping sound in exhaust

Could be many things, pop out the exhaust is usually to rich not lean, fouled plug, bad wire, fuel building up in the exhaust then igniting. Then it could be a mechanical problem, burnt valve, cam lobe, and so on.
Check the easy stuff first.