I need advice!

I’ve been having sex with a guy for a year now he is 19 (20 in December) I am 17 (18 in May) my friends think I should stop bc it’s “inappropriate” but I am almost 18! My friends want to tell my parents unless I stop seeing him. What should I do??