For males (neutering), the procedure involves removing the testicles through a small incision near the scrotum. For females (spaying), it’s more complex, involving the removal of the ovaries and usually the uterus through an incision in the abdominal wall. Both procedures are performed under general anesthesia.