When he realizes that he has committed a sin, he must bring as his offering a female goat that has no defects.