Well… I have mixed feelings on how you should handle it.
Try and rise above throwing insults back etc. But if they say something especially hurtful - sometimes trying to talk about it like the day after when you have calmed down is “supposedly” good at setting boundaries
My Dad used to take any kind of criticism very badly and would never really hear what I was trying to express. He’d take it as an attack on his character. So even though in theory its what “you should do” - there’s no guarantee that they will respond well to it.
Definitely don’t raise your voice or be aggressive. Try and show that what they said hurts you. But at the same time they arent gonna magically transform - its very hard to change how your parents respond to you. Hopefully as you both get older they will chill out a bit. My mum definitely got better at accepting me as I got into my late twenties. Where as when I was early twenties she still treated me like a child and wouldn’t let me express myself very much.