When you start your car why does it knock crack crack and then continue to knock faster crack crack crack when you press the gas pedal?

It sounds like you have internal engine damage, such as worn out connecting rod bearings. It needs to be looked at by a professional.