You don't use a 2.4GHz or 5GHz connection. You use Dial-UP, DSL, LAN or some kind of other internet provision.
2.4GHz refers to the 802.11 b and 802.11 g wireless LAN protocols, using 11 Mbit/s and 54 Mbit/s.
5GHz is used with the 802.11 n standard with a net bit rate 600 Mbit/s.
It depends what kind of router is used to connect to the internet and if you have an 802.11 n-enabled airport card.
Most ISPs don't offer speeds of more than 54 Mbit/s or even 22 Mbit/s (the practical throughput of 802.11 g (2.4 GHz).
But sorry if can't help you finding out what protocol you use.