If you have such low trust of a person that you think that they will casually ruin your life, donβt have sex with them.
Btw op, are you this paranoid for every situation in your life? Are you too afraid to invite people over to your house since they can murder you and rob you? Are you too afraid to eat at restaurants because the chef might have poisoned your food?