A system for nerve stimulation comprising: a nerve stimulation device configured to execute a set of nerve stimulation instructions for generating electrical pulses for nerve stimulation of a patient, wherein the nerve stimulation device comprises: a housing ; an electrical pulse generator configured to generate one or more electrical pulses corresponding to the set of nerve stimulation instructions; and at least two electrical conductors (120a,b) extending from the housing each adapted to be connected to an electrode (130a,b) attachable to a body part of the patient at a location separated from the housing, wherein the electrodes are for supplying the one or more electrical pulses therebetween via the patient, wherein the at least two electrical conductors are insulated conductive wires; a connector extending from the housing connected to an acceleration sensor , wherein the acceleration sensor is adapted for attachment to the body part of the patient at a location separated from the housing and to detect movement of the body part as a result of the one or more electrical pulses; and a user electronic device , configured to: generate the set of nerve stimulation instructions; and send the set of nerve stimulation instructions wirelessly to the nerve stimulation device. a nerve stimulation device configured to execute a set of nerve stimulation instructions for generating electrical pulses for nerve stimulation of a patient, wherein the nerve stimulation device comprises: a housing ; an electrical pulse generator configured to generate one or more electrical pulses corresponding to the set of nerve stimulation instructions; and at least two electrical conductors (120a,b) extending from the housing each adapted to be connected to an electrode (130a,b) attachable to a body part of the patient at a location separated from the housing, wherein the electrodes are for supplying the one or more electrical pulses therebetween via the patient, wherein the at least two electrical conductors are insulated conductive wires; a connector extending from the housing connected to an acceleration sensor , wherein the acceleration sensor is adapted for attachment to the body part of the patient at a location separated from the housing and to detect movement of the body part as a result of the one or more electrical pulses; and a user electronic device , configured to: generate the set of nerve stimulation instructions; and a housing ; an electrical pulse generator configured to generate one or more electrical pulses corresponding to the set of nerve stimulation instructions; and at least two electrical conductors (120a,b) extending from the housing each adapted to be connected to an electrode (130a,b) attachable to a body part of the patient at a location separated from the housing, wherein the electrodes are for supplying the one or more electrical pulses therebetween via the patient, wherein the at least two electrical conductors are insulated conductive wires; a connector extending from the housing connected to an acceleration sensor , wherein the acceleration sensor is adapted for attachment to the body part of the patient at a location separated from the housing and to detect movement of the body part as a result of the one or more electrical pulses; and a user electronic device , configured to: generate the set of nerve stimulation instructions; and send the set of nerve stimulation instructions wirelessly to the nerve stimulation device. <EOS>