Grind the coffee beans. The best espresso comes from freshly ground coffee beans—preferably ground with a burr grinder, which produces more uniform particles than a blade grinder. Grind the beans directly into the portafilter for the freshest coffee possible.
Tamp the beans. The next step is tamping. A tamper is a small, flat round weight with a handle—kind of like a stamp. You use the tamper to press the coffee grounds into an even disc. This will ensure that the portafilter can go into and come out of the machine properly and maximize the water's contact with the coffee. Don't press too hard, or the disc will become compacted. Apply light pressure and release with a slight twist.
Prepare the glass. Warm up a small glass (such as a Gibraltar glass) by pouring hot water into the glass.
Make a single or double shot of espresso. Gently slide the filter basket into the machine and turn the handle to lock it into place. Pour the hot water out of the glass and place it underneath the portafilter. Depending on the design of your espresso machine, you'll need to flick a switch or press a button, and the coffee will stream out into the cup.
Steam the milk. Your machine will have built-up steam that you can now release using the steam wand. Release a tiny bit of steam into a rag or sponge to clear the wand of any residue. Fill your frothing pitcher a third of the way full with whole milk (or barista-style almond milk, oat milk, or coconut milk) and insert the wand into the center of the pitcher. Keep the wand submerged to heat the milk until the outside of the pitcher is warm to the touch and a very small amount of foam has formed.
Pour the milk. Slowly pour the milk into the glass on top of the espresso. (You will likely have leftover milk.) Serve immediately.