How did people survive trepanning?

Can you answer this question?