What would you do?

I’m starting to get to know this amazing guy he has a 3 year old with his ex that has been messaging me constantly since I met him. He told me that we shouldn’t be friends on social media because she is crazy and will not leave him alone. We only talk through text and have only hung out twice I’m not sure if I should keep this going