This is such a wide topic that it's almost impossible to cover, and it really depends a lot on the type of game, too. For example, most Rhythm games are best served with a tutorial option available on the main menu, and no tutorial content inside the standard play modes.
For RPGs, which is what we generally discuss here, the mechanics are usually complex enough, and the activities diverse enough, that you want to start with the basics and introduce the finer complexities later on. In fact, I think it's a good idea to disable as many of those complexities as you can at first, unlocking them as they're introduced.
I'm not a fan of teaching "buttons" through tutorials. Players can usually figure these out (as long as doing something only requires a single button press, rather than a combination of two or more buttons), and as
@Kuro DCupu mentioned, an onscreen picture is enough to guide the players that
can't figure it out. I don't explain to the player that they move around using the arrow keys. Having a physical, digital, or in-game manual available can be a happy middle ground.
For actions that are important but not immediately obvious, onscreen GUI can be nice. For example, the first time the player buys equipment in my game, I have the shopkeeper remind him "Don't forget to equip your new stuff!" and then I slide a GUI element onscreen (for 10 seconds or until the player opens the menu) that reads 'Press [[CTRL]] to open Menu' while play continues.
I like thorough tutorials for menu-based stuff. It's harder to design completely intuitive menus than it is to design completely intuitive gameplay, so I feel that players often can't figure out everything they're able to do on a menu, or how to do it. Pictures work better than text when trying to explain a menu, and video works even better than pictures. Thorough tutorials are also important for any kind of unique gameplay system (think Materia, monster raising/breeding, Triple Triad,
Kingdom Hearts' Gummy Ship, etc.).
I'm a fan of
Dark Cloud 2 (Dark Chronicle)'s video tutorials, which have different characters naturally explain the gameplay elements, use animated pictures and extra text to highlight important points, and can be re-watched at any time from the menu.
As a few people, starting with
@bgillisp, have mentioned - it's good to give players the option to completely skip tutorials if they appear as part of the standard course of play. Experienced players don't need to sit through them. If the tutorial delivers some narrative/gameplay, create a second branch to deliver that narrative/gameplay in a way that doesn't require the tutorial information.
One place I try
not to use tutorials is anywhere that Improvisation is an important gameplay dynamic. For example, in
timeblazer there are series of minigames that occur in quick succession (this essentially replaces dungeon-crawling), and the point is for every minute to feel like a different, unexpected experience that you try to figure out. So I do show the player the controls for each minigame upfront (if they have that option ON), as well as the general goal of the minigame ("Protect the Townsfolk!", "Race to the Finish!") and important notes ("Avoid TNT", "Hold [[L]] or [[R]] to adjust your balance"), but I don't explain detailed mechanics like how balance is calculated, what behavior enemies use, or anything like that - and I also intentionally don't show minigame gameplay upfront (because I want it to come as a surprise).
The WarioWare series took Improvisation to an extreme by not showing controls and making goals very abstract ("Pick Your Nose!", "Chisel It!"), with part of the challenge being to figure out what the hell was going on. This can be fun but it's also very risky since players might never figure it out, and is best for extremely simple concepts with extremely simple controls.