You do not have to change your Hogwarts house if you do not want to.
You’ll be given the option to either stay in your current house or swap to your new house (if you get a different result). After that, you can retake the Sorting Ceremony as many times as you like – but the Sorting Hat won’t change its mind!