Step 1: Writing requires a lot of patience. Like, a lot of patience- if you don't sound like JK Rowling on your first try, it's literally whatever. Step 2: Writing also requires a lot of experimentation. There are many ways to write, many styles-- authors, like artists, have their own ways of characterization and speaking that make a huge difference. All of this is because of experimentation.
Step 3: As a writer, you also have to research and reading is, as always, fundamental. Reading books from your favorite authors, even some out of your favorite genres actually helps aid in experimentation, too! Step 4: Having fun during the process is the best idea, even if it seems cliche. Most authors and writers genuinely love their work and it shouldn't be a grueling process to go through. Don't worry, you've got this!