You have to get into the pipe in a specific level, assuming you are talking about "Super Mario Bros" for the ds. Search it up on google though, and you will see.
The answer depends on which game you're playing. Like the user above said, you're probably better off looking up the information directly - there are plenty of walkthroughs online that are able to help you. 01:13, February 4, 2018 (UTC)