Let's assume your Mac wireless connects to your network; if it has a cabled connection, you'll need to ensure your iOS device connects to the same access point.
1. On your Mac, click the Wi-Fi icon in your menu bar to show the available networks. Take note of the network name with a tick next to it; this is the currently-connected wireless network.
2. On your iOS device, open the Settings; then, choose the Wi-Fi item from the menu. This will now show you a similar list of available networks. Check that a tick is next to the same network name as your Mac is connected to; if it isn't, tap that network name to connect the device. You might have to enter the network password to access the network. In the following screenshot, you can see both the settings for the iPhone and on the Mac: