If you meant "trepain" but it's actually spelled "trepan", you're on the right track! "Trepan" refers to the medical procedure involving drilling into the skull and that's the correct form. Other suggestions would be "trephine" or "trephinate", which are synonymous alternative spellings commonly used in the medical field.