Cybercriminals can use the internet to gain access to your computer. For this reason, use only Wi-Fi networks with WPA2 or higher security, a cellular network, or a virtual private network when possible. Always try to avoid using public Wi-Fi.
Also see our article: How to protect your privacy on public Wi-Fi