apparatus for treating a subject is provided , the apparatus comprising a stimulation device , adapted to be implanted in a vicinity of a site selected from the list consisting of : a sphenopalatine ganglion of the subject and a neural tract originating in or leading to the spg ; and a connecting element , coupled to the stimulation device , and adapted to be passed through at least a portion of a greater palatine canal of the subject . also provided is a method for implanting a treatment stimulation device in a vicinity of a site of a subject , the method comprising passing the device through a greater palatine foramen of the subject , and bringing the device into contact with the vicinity of the site , the site selected from the list consisting of : a sphenopalatine ganglion of the subject and a neural tract originating in or leading to the spg .