This is called, porpoising.... It's a difficult to actually land in this situation, as you will always lagg behind the airplane trying to recover. Correct procedure is to maintain back pressure on the yoke if runway is still safely remaining try to re flare or go around.
One day, you will have a prop strike, and this is reckless behavior from a flight instructors perspective, stay safe.