You can do so by following these steps:

-Tap on the player’s avatar at the top left of the screen.

-Tap on the circular arrows icon below the player’s avatar on the left side of the screen.

-Choose one of the available hero images.

Note: The images available to choose from are linked to the number of heroes you have summoned in your city.