A myth is a legend or something that is invented or it can also be something imaginary. And even a person can be a mythical/mythic person because they are symbolic/universal/they are famous/everyone knows them.

A hero is someone who fight for others, who sacrifices their life for others and a Hero changes the course of history.