If you love writing, always stay focused. Reading is a nice habit for a writer. Read various authors, different categories of authors. Read variety of stories. It may be biography, autobiography, novel, poems, drama, short story, love story, etc. Reading helps a lot in writing.
If you are lacking ideas, you may take ideas from your readings.You may get ideas from reading many books. You can also write about yourself, about any story you like, about nature, birds, animals, anything. In your spare time, you may read magazines, travel and visit various beautiful places, which may give inspiration to your writing.
Time is also an important factor in writing. Some people complain of lack of time for their writing. But time management is important. Time management helps in bringing consistency, regularity in your writing. Keep a fixed time to write and continue this. Time management is necessary for people in every field of work.
Writers can be from different fields like-part time(doctor, teacher, lawyer, engineer, housewife, etc.) or full time.There are different categories of writers too, like-some writers writing on social cause, some on water problem, some on nature, some are comic writers, some are writers of horror stories, some write about their personal experiences, some write about their achievements and success, some on their experience through failure.
Every writer is unique in his/her own way. They have a touch of uniqueness in their writing. This uniqueness lead them to success.