If you're thinking of using an XLR mic, you're going to need an audio interface, such as Focusrite's Scarlett 2i2, an XLR cable, and a mic stand (it's always the obvious things we forget). If you're a complete beginner and want a convenient option that gets you decent-sounding vocals, you're best suited to a USB mic, such as the Blue Yeti. When recording your vocals, you should use either a USB or an XLR mic. Though you can record vocals using your built-in microphone, it's not recommended as the sound quality will be far from acceptable in most cases. But to keep things simple here, it's worth making sure you've at least got a good-quality microphone, the correct equipment for it, a pair of headphones, and a pop filter.
There are some key factors to consider when recording vocals at home, which you should check out.
Before we begin, it's important to make sure that you've got everything you need to get a solid vocal recording.