You can also fast the fish for about 3 days with the pea cure.
Here I have quoted a person from yahoo if you are interested in reading this whole article here it is.
(Here it is)
"Swim blader disorder" is a fairly useless term. The fish will have trouble controlling its bouyancy for a number of reasons, all of which tend to get lumped into "swim blader disorder". Constipation, overeating, bacterial infection, viral infection, temporary temperature rise, stress, genetic predisposition, and malfunctioning ducts can all cause "swim blader disorder", and none of them will have the same treatment. Constipation is by far the most common, and will generally be accompanied by abdominal swelling. If it is constipation, the peas and high-fiber diet Dabomb suggested would be a good choice. Bacterial infections are fairly uncommon, but can be treated with medicated food, either storebought, or home made (soak the food in kanamycin, nitrofurazone, metronidazole, tetracycline, minocycline, oxytetracycline, or others). If the temperature is too high, obviously, turn the heater down, and consider floating frozen water bottles in the tank. There is nothing you can do about genetics, viral infections, or malfunctioning ducts, however.
(back to me)
although I do not agree with every yahoo post acourse including anything betta related..... this is the best post I have found on yahoo and it is describing swim bladder disorder.