If your contract has ended, you can switch broadband without needing to cancel your current plan, and you won’t be liable for any early termination charges.
If you’re still within your contract term it’s likely you’ll have to either pay up your contract or pay a charge — unless the provider increases the price of the monthly subscription above any agreed increases in the terms and conditions of your contract.