I had the same problem with my betta.. Unfortunately he has passed away now, but I tried bathing him in Epsom Salt, and it worked. They do not like this, but feel much better after. Used to bathe him a couple times a week for about 1/2 hour. You can find Epsom salt at Walmart, and other places.
Hope this helps, and I hope and he gets better..