You need to open the Settings app on your smartphone. And then go to Network & Internet > SIMs> Preferred network type. Now from there, select 5G. Moreover, you can go through a brand-wise guide to know how to enable 5G on your phone.