While you're recovering in hospital, a stoma nurse will teach you how to care for your stoma, including how to empty and change the bag.
They'll also teach you how to keep your stoma and the surrounding skin clean and free from irritation.
The nurse will explain the different types of equipment available and how to get new supplies.
You may need to stay in hospital for up to 2 weeks after the operation, although this varies depending on things like your general health and the type of operation.
Your stoma nurse or surgeon will give you advice about activities to avoid while you recover.
Most normal activities are usually possible within 8 weeks, although you'll often be advised to avoid more strenuous activities for about 3 months.
Your abdomen will feel very sore initially during your recovery, but eventually settles down.
You may also experience excessive gas (flatulence) and unpredictable discharge from your stoma during the first few weeks of recovery.
This should start to improve as you recover from the effects of the operation.