Learning to write fiction is a journey. First, you need to understand your own interests. What kind of stories do you like? This can guide the type of fiction you want to write. Then, start with simple ideas and build on them. Don't be afraid to make mistakes. As you write, focus on creating engaging characters. They are the heart of any fiction. Develop their personalities, motives, and backstories.
One can start by reading a lot of different fictions. This exposes you to various writing styles, plots, and character developments. Also, practice writing regularly. Set aside time each day to write, even if it's just a few paragraphs. Another important aspect is to study the elements of fiction like plot structure, setting, and dialogue.
To learn to write fiction, it's beneficial to take writing courses. They often provide structured lessons on different aspects of fiction writing. You can also join writing groups. Here, you get feedback from other writers which can be very helpful. Additionally, keep a journal. Write down your ideas, observations, and experiences as they can be used as material for your fictions.