the patient is given a general anaesthetic in three parts. the first part is a drug that puts you to sleep. it works very fast. you are told to count backwards from 100,and you are usually sleep before you reach 95. From that point onwards, you brain waves are monitored by an electroencephalogram (EEG), which will warn if you are waking up.