This video contribution from Portugal show you (click the picture):

Thermal dehorning of calves under local anaesthesia. It is also recommended to use NSAIDs for pain relief.

https://youtu.be/oFYdibecy0k