Check Settings > Connections > Mobile Networks > Access Point Names. If it still doesn’t work, contact your carrier.
I wouldn’t copy random APN details from the internet. Get the exact ones from your operator.
APN settings depend on your mobile network operator, so I would check the official settings for your SIM first.
I had this after changing phones. Resetting the APN to default fixed it for me.