Make sure that the connection for which you want to find the IP address is established. Basically, you should be connected to Wifi and/or via Ethernet to your computer.
Open a terminal window and type the following command:
ifconfig
Look under “wlan0” and write down the IP address you find after “inet” or “inet6”. This is your Wifi IP address.
Assuming your RPi is also connected via Ethernet to your laptop, look under “eth0” and write down the IP address you find after “inet” or “inet6”. This is your Ethernet IP address.