Happy Ending

At the end of The Big Fight between Hero, Villain, and whoever else happens to be there, Hero draws their weapon one last time, utters a Badass Line, and finally puts an end to Villain. Some time later, Hero returns home and meets the townspeople who somehow got notified about Villain's fall (maybe The World Is Healing is a sign that Evil Is Dead). One of the below happens next depending on what media this is in.

In Books
The same thing as in movies, but instead of dancing or experiencing the Universe's first technical error since the 70s, Hero, The Author, or someone else either delivers a Wholesome Line or Speech to wrap up and properly end the story.

In Movies
Hero kisses their loved one, remembers Mentor's words if they died (99.99999999% chance they did), and does a little stupid dance along with everyone else /freeze frames. Roll credits and we're done.