Exiting an options trade

When exactly should you exit net option selling trades?