Welcome to Android Central! More details would be helpful. Are you saying that the phone can't connect to the web using mobile data? What about using wi-fi? Which carrier are you on? You need to make sure the phone supports the network bands the carrier uses. The APN settings also have to be correct: https://www.androidcentral.com/what-apn-and-how-do-i-change-it