In ancient Rome, trepanation was seen as the best method to get rid of severe headaches and madness. It was believed that the hole in the head allowed the evil spirit to leave the wretched body and bring relief.
The method of trepanation has already been mentioned by Hippocrates and Galen.