Finding your device in a network using nmap

How to find your device in a network if you don&rsquo;t know what IP it has been assigned?