nmap 1.1.1.1

Now, if you want to scan a hostname, simply replace the IP for the host, as you see below:

nmap cloudflare.com

This kind of scans, such as the Nmap scan host are perfect for your first steps when starting with Nmap.