The person doing this is most likely some 15 year old kid with a $5 booter trolling people online, most likely no need to be worried about anyone getting your info. What console were you playing on? Just don't fall for any phishing links they might send, sites that look legit but are actually just setup to get your passwords. Block them, don't join a voice chat with them (way most of them get IPs). There are different ways you can change your IP, you can ask your ISP directly or I'm sure you can turn your router off for 10 mins and turn back on again (that changes my IP). Just don't fall for the same thing after resetting it.
i was on a ps4 and i have virgin so only way to change my ip is get a new router or contact isp which i dont want because i will have to tell my parents. I have changed all my passwords just incase they try to dox but i need to know how i can hide my ip and stay protecxted etc