In case the device is dual SIM card, you should select the SIM card that has internet package.

PATH:

Settings > Connections > SIM Card Manager > Enable to the preferred simcard that can support LTE or 5G> Then Tap Mobile Data and choose the preferred simcard.

Once all are filled, just save and enable the APN as well as mobile data to check and start browsing the internet in your smart phone or tablets.