The cost of a phone contract often goes up over time in line with inflation. SIM only contracts are no exception. But if you’re on a long term contract, your network should notify you if and when they intend to increase the price.
The price increase is usually only a couple of percent, so it often won’t make a huge difference to the affordability of the plan. But it’s always worth comparing the latest SIM only deals at the time.