You need a device with Wi-Fi capability. For most modern devices, this comes as standard – mobile phones, tablets, and laptops all tend to have Wi-Fi inbuilt. For older devices, you might need a Wi-Fi adapter. These are typically small devices that you can plug into a USB port, and they provide wireless networking functionality.
Other than that, you just need access to a Wi-Fi network, and probably a password or login for it.