Need some help

Hey… I’m doing a little skategame… The skater can jump punch and move now… But when you jump and then press the punch button it goes to frame number one where the guy is breathing and moving… Can anyone teach me how to do so when the guy is jumping in the air, you can’t press the punch button… But you can press when you get down again… Can anyone help ??? Please…