Where the plan, the local network and your phone all support it. Each plan states the fastest network technology it can use at that destination.
Your phone has to support 5G on that band, and the place you are standing has to have 5G coverage. Both are outside what we control.
A plan that can only reach 4G at a destination says so before you pay, rather than after.