Apparatus for transcutaneous electrical nerve stimulation in a user, the apparatus comprising:a housingstimulation means for electrically stimulating at least one nervean electrode releasably mounted to the housing and connectable to the stimulation means for electrical stimulation of the at least one nervemonitoring means for monitoring the users body orientation and movementanalysis means for analyzing said orientation and movement andcontrol means for controlling the output of the stimulation means in response to said analysis of said orientation and movement.