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