Some STDs, such as hepatitis B and HIV, are also transmitted through blood-to-blood contact, through sharing syringes or equipment to inject drugs, body piercing equipment or tattooing needles. Pregnant people with STDs may pass their infections to infants during pregnancy, birth, or through breast feeding.