If you are pregnant and have gonorrhea, you may give the infection to your baby as it passes through the birth canal during delivery. A health care provider can prevent infection of your baby's eyes by applying silver nitrate or other medicine to the eyes immediately after birth.