Also, I had my bettas yrs ago at 26/27 degrees thinking it was the perfect temp. but they when downhill fast. It was suggested to me that I lower the temp to 23/24 and all my bettas and tetra have been fine ever since. In fact, they seem to thrive on it.
Hope your fish gets better, he's a...