First off, read a lot of creepy pasta stories to understand the style and tropes. Then, work on developing your own unique ideas and ways of scaring your audience. Pay attention to details and build up the atmosphere gradually.
You need to have a wild imagination and be good at creating suspense and horror elements. Also, practice your storytelling skills and know how to build tension.