how to create a screen to represent 3 life

How can I create a map where players have only 3 lives, and I want 3 hearts to appear on the screen to represent each life? What are the specific steps and devices I should use to implement this life system and display the information on the screen?

Any tutorial or tip?