How I managed to know what to write about

Just start writing and the ideas will come. If you don’t write you won’t get many ideas. It is like using a muscle continually. If you don’t use it you will lose it.