A pyloromyotomy is an operation to loosen the tight muscle causing the blockage between the stomach and small intestine. Your child will need to have an anaesthetic. Your child will stay in the hospital one to three days after the operation.