Please help!! Was it the right thing to do ??

Stephanie
There's a guy I talk to he's much older n he want me to get pregnant but I'm still young n not as ready.  We'll today is probably the third to 4th time I seen him n he got mad that I didn't wana have sex with him. It was very scary n I disnt wana chill with him in the first place bt He was already there.. He almost broke my phone n was just mad like he would hit me n wuld fight with physically to have sex wen I have said no multiple times . I ran out the house he call me a bitch n say fuck yu with a middle finger. I ran n kept running n it was sorta like he wanted to rape me n I didn't know where I was I far from home it was just scary I made my friend call the cops nstuff n I made a report they'll find him I have every information but was it the right thing to do ,? I need some support :(