how can I get idea while writing?
Here is a PDF document that can give you some writing ideas. These are somewhat complicated topics, but that doesn't mean your writing has to be complicated. Just keep it simple and concentrate on writing correctly.
Perhaps more later. Or someone else might have a thing or two to say.