We base Our words on the first principles of a human and Christian doctrine of marriage when We are obliged once more to declare that the direct interruption of the generative process already begun and, above all, all direct abortion, even for therapeutic reasons, are to be absolutely excluded as lawful means of regulating the number of children. Equally to be condemned, as the magisterium of the Church has affirmed on many occasions, is direct sterilization, whether of the man or of the woman, whether permanent or temporary.
Similarly excluded is any action which either before, at the moment of, or after sexual intercourse, is specifically intended to prevent procreation—whether as an end or as a means.
Neither is it valid to argue, as a justification for sexual intercourse which is deliberately contraceptive, that a lesser evil is to be preferred to a greater one, or that such intercourse would merge with procreative acts of past and future to form a single entity, and so be qualified by exactly the same moral goodness as these. Though it is true that sometimes it is lawful to tolerate a lesser moral evil in order to avoid a greater evil or in order to promote a greater good,” it is never lawful, even for the gravest reasons, to do evil that good may come of it—in other words, to intend directly something which of its very nature contradicts the moral order, and which must therefore be judged unworthy of man, even though the intention is to protect or promote the welfare of an individual, of a family or of society in general. Consequently, it is a serious error to think that a whole married life of otherwise normal relations can justify sexual intercourse which is deliberately contraceptive and so intrinsically wrong.
On the other hand, the Church does not consider at all illicit the use of those therapeutic means necessary to cure bodily diseases, even if a foreseeable impediment to procreation should result there from—provided such impediment is not directly intended for any motive whatsoever. —from Humanae Vitae (July 25, 1968)