The United Ostomy Associations of America website has a good description of what an ostomy is, why it might be necessary, and how to care for yourself if you have one.
Some pharmacies have ostomy care specialists and any pharmacy or medical equipment supply store can talk to you about the best products for your situation.