but to change the temperature of a heater most of them require you to change it through a switch.
You use the switch to turn the heater on or off. Turn the switch on, connect the heater to a relay, and use the Arduino to turn the relay on and off as needed.