Whether you're a new writer or an experienced one you will always run into roadblocks. I want to help those writers by giving them tips in overcoming writer's block. Hopefully this helps.
#1 - Take a break.
Honestly, this might sound like you're wasting your time when you could be writing your story, but it helps. I've experienced many blocks, sometimes lasting months. The thing that helped me was to just stop thinking about my story and just relaxing. More often than not, what you're looking for will pop into your head when you least expect it. Writing is a long process, breaks help refresh your mind. This is the best tip.
#2 - Figure out the cause.
Sometimes you just don't feel like writing or don't know what to write. Sometimes, though, it might be because you wrote yourself into a corner. Evaluate and edit your story. See what might fit and experiment with what you're writing. Of course, this depends entirely on your story.
#3 - Take care of yourself.
This might sound out of topic, but trust me, it helps. If you're unhappy, down, sick, or depressed, then it will affect your ability to write the way you want. So it is in the best interest of you and your story to take care of your body and mind as difficult as that may be sometimes. However, if writing makes you happy, then by all means write away.
#4 - Take your time.
I'm sure all writers want to finish their story as soon as possible in order to publish it, but that mentality will lead to more writer blocks and will degrade your quality of writing. You write because you enjoy it, not because you want to make money from it. After it's done and properly written, then you can publish your story and make money from it.
#5 - Reinvigorate your creativity.
Sometimes you forget how to write the way you want to because you've lost that sense of writing creativity. This has been the cause of many of my lengthy writer blocks. What fixed it for me was to find inspirations. When I'm feeling out of touch I read books that are similarly written to mine or I play video games (recently Senua's Sacrifice helped me get my mojo back).
#6 - Don't overthink.
Honestly, writing is a long process (if you want more quick tips about writing, check out my other article). It will take time and a lot of effort, but it will be fun if you genuinely enjoy it. Just have fun with it, don't think to big, and write as best as you can. Enjoy the art of writing and of creating something unique. Along the way you will improve, don't worry. Find what makes you flow. If you can write for hours while you feel like time has practically stopped, then you know you're enjoying what you're doing.
#7 - Accept the Facts
As hard as it might be to admit, sometimes you just aren't good enough, YET. If you feel like your writer blocks happen because of your lack of skill, don't worry to much. Try and improve your skills by reading and studying books, or just trying to write through your writer's block and see what happens. When writing, it is crucially important to criticize yourself or you'll never improve.
I hope this helps any writers. Writer's block can be a big problem if you don't know how to deal with it. When I first started, my writer blocks would last months; now they only last a few days to a few weeks maximum. I went through a bumpy journey and I give these tips so yours could be smoother.