"Does the Church teach that the unnatural or artificial means of birth control are immoral and blameworthy? Yes. In Humanae Vitae, the first-named form of illicit or unnatural method of birth control is abortion (n. 14). Then, "equally to be excluded, as the teaching authority of the Church has frequently declared, is direct sterilization, whether perpetual or temporary whether of the man or woman" (Humanae Vitae, 14). This condemns tubal ligations, vasectomies, and the Pill. "Similarly excluded is every action which, either in anticipation of the conjugal act, or in its accomplishment, or in the development of its natural consequences, proposes, whether as an end or as a means, to render procreation impossible" (Humanae Vitae, 14). Such unnatural forms include the Pill, the intrauterine device, foams, diaphragms, condoms, withdrawal, mutual or solitary masturbation and sodomistic practices."
January 1, 1970
https://en.wikiquote.org/wiki/Christian_views_on_birth_control