How do you know

Ok so I'm a virgin, so this may sound like corny or whatever lol. But I'm nervous of having sex because how do you know that your partner doesn't have any diseases? Like do you just jump into sex and just trust that they don't have anything?