What to write and when to write?

What to write and when to write?