To reach the ending of Slender, you need to collect all 8 notes scattered throughout the game. Once you've gathered every one of them, the game concludes. If you'd rather see the ending firsthand without the search, you can find videos of it on YouTube by looking up "Slender ending"—just be ready for spoilers.