You can turn off cellular data on an Android device to avoid hitting your data cap when you're not using Wi-Fi.
You can turn off data on an iPhone all at once, for specific apps, or by turning on Airplane Mode through the Control Center. Here's how to do each.