Jump back then attack.

Edit:Probably dumb riddle