First have you had that betta for long?
In petstores, the fish are kept in crappy conditions [not your own tank, but in fish stores]
If this is a new fish, it is quite possible that it is suffering from some sort of illness while in the pet stores. Not in your own tank.
Treat it like fungus, if it doesn't improve than it is a cyst.