Here's how to get rid of it:
1. Talk to the Old Man: He's located just to the left of Snorlax, near the entrance to the route.
2. Get a Poké Flute: The Old Man will tell you about a "Poké Flute" and how it can wake Snorlax.
3. Find the Poké Flute: You can get it by talking to the little girl in the Goldenrod City Department Store.
4. Use the Poké Flute: Once you have the flute, go back to Snorlax and use it on him. He will wake up and leave the path.
Now you can continue your journey!