At the end of the level there is a Koopa Troopa coming down the stairs. Stand on the block in front of a Troopa and jump up so that you jump on him. Don’t move while Mario continues to jump on him. After gaining 1,000 points you will start to earn extra lives. Wait until you get 99 lives.