25 watts heater to a 1gallon tank

I just bought a 25 watts adjustable heater for a 1 gallon hospital tank for my betta, is it ok to have 25watts or it is too overpowered?