MusicTechHelpGuy runs through the basic gear checklist for recording vocals or instruments in Logic Pro. You need a microphone, an audio interface with an XLR input, a pop filter, and headphones.
Closed-back headphones matter here: they stop sound bleeding from your headphones into the mic during a take.
One key warning: never monitor through studio speakers while recording. The sound bouncing between the speakers and the mic creates feedback, so headphones are non-negotiable if you don't have a separate live room.