What can you do when your sex partner is over 18 and you are under 18 and your partner doesn't want to get caught?

Don't have sex. The age of consent is often 16 or 17, so you can be under 18 and not have a legal problem.