@laysjoseph Do all other services work?
If just data and you have an iPhone
Go to Settings >> General >> Profiles remove any data or vpn profiles there
(if you don't see the profile tab. It means you don't have any profiles installed so you can go to the next step)
Reset network settings: Go to Settings >> General >> Reset >> Reset network settings. The phone will switch off and restart automatically in a few minutes.
Once the phone restarts switch on airplane mode and switch off.
Now try and connect to a Web page via safari
@laysjoseph Voice call works? And you enable Mobile Data on your phone?
You can try to change your Preferred Network to 3G Only / WCDMA Only
You might want to try Reset Network (Keep in mind this will clear you saved WiFi connection and you have to rejoin them)
Best is to at least tell us if it works on your current phone before and what brand and model is your phone
@Hannamgr this is a common device issue. The phone usually tries to hold on to the WiFi connection to save your mobile data
You can try to enable WiFi Assist or Adaptive WiFi if your phone offers such option (but there is bad side to it too. Your data could be used in other unexpected situations