what would be ur reaction learning your teenager is having sex

J • Just trying to learn about life ✌🏽
My parents just found out I had sex with my boyfriend (both 17) and they told me I had to break up with him. My dad also told me he was disappointed in being "so easy" and not "valuing myself" and "giving myself away to just anyone". Idk if it's just me but I would never let my kid feel ashamed for having sex, especially when they're already mature enough to decide on their own what to do with their body. Pls like what u think about my situation and ur own experience