It would certainly depend on how you could contract the STD that you are currently infected with. Do note that STDs are not necessarily only transmitted through sexual contact or sexual intercourse. The most common transmission pathway for STDs is through contact with infected bodily fluids – precipitating a systemic infection as the causative microorganisms penetrate through the mucosal membranes and skin openings in the body. While it might be true that you have not participated in any sexual activity yet, it is possible to contract the pathogen through other processes of body fluid contact, such as through high-risk bloodletting or sharing needles used by an infected individual.
If you didn’t find what you needed, these could help!