STD's

So is it possible to have an STD or anything BEFORE someone is sexually active? Like before you become sexually active with someone and you are a virgin (in all ways) should you get tested?