It may not be pleasant to imagine all the "what ifs," but doing it now and planning for those unexpected events will improve your company's chances of surviving a storm. For an excellent step_by_step guide on the details of developing a risk management plan, see the article "How to Develop a Risk Management Plan," by Charles Tremper at wikiHow.com.
For an online business, a detailed and in depth business plan is usually not necessary unless you are trying to combine your online business with a traditional business. For most online business startups, the detail involved with planning a traditional business is not required. However, it would still be beneficial to you if most of the topics were still covered, even if only briefly. Having a written plan in front of you will help you to focus on important aspects of the business.
Start by writing a description of your business, including what stage of development it is currently in (conception, start_up, first year, mature, exit) and your plans for growth. Discuss the nature of your business, the main products and services you offer, the market for your products and services, and how and by whom the business is operated.
So, although a detailed business plan may not be required for an online business, I am going to include it here so you can at least look at and consider each section and determine yourself if it applies to your business.