An ostomy pouch should be changed before sex. Sometimes it is possible to cover the pouch with a garment of clothing, depending on what makes you more comfortable.