nmap <IP>
Now, if you want to scan a hostname, simply replace the IP for the host, as you see below:
nmap <example.com>
This kind of scans, such as the Nmap scan host are perfect for your first steps when starting with Nmap.