STIs can spread through vaginal, anal or oral sex, genital skin-to-skin contact and, for some infections, exposure to infected blood or bodily fluids. Condoms and dental dams reduce the risk of many STIs but do not provide complete protection against infections spread through uncovered skin. Having no symptoms does not rule out an infection.
Testing is worth discussing after unprotected sex, a new sexual partner, notification from a partner or the development of symptoms. The appropriate test and timing depend on the infection and when exposure occurred. Testing too early can sometimes produce a negative result even when an infection is present, so repeat testing may be recommended after the relevant testing window period.