You can choose your hero name for the first time after finishing the game's tutorial missions. After that, you are able to rename yourself one more time. Unfortunately, it is not possible to change your name again a third time, so please choose your name carefully.