Methods of using a stimulator device in the treatment of: gastrointestinal disorders such as dysphagia, gastroesophageal reflux diseases, functional dyspepsia, gastroparesis, postoperative ileus, irritable bowel syndrome, constipation, diarrhea, fecal incontinence, nausea and vomiting gastrointestinal obstruction or pseudo-obstruction pain and/or discomfort related to visceral organs eating disorders, such as obesity, binge eating, bulimia, anorexia, and chemotherapy-induced emesis or emesis of other origin. The stimulator device generally includes a housing, at least two electrodes, and a pulse generator. The housing has an exterior surface and an interior surface defining a sealed interior space. The housing is constructed of bio-compatible materials and sized and shaped for transport through the gastrointestinal tract.