To check the frequency band to which you are connected, go to the device's settings section that you are using. The device can be a smartphone, laptop, tablet, or anything else.
There you will find the option network and internet. Click on that option. Click on the wireless network name and go to its properties. There you can see if your network is connected to the 2.4 GHz or 5 GHz frequency band.