Talk to him or not

So there's this guy who I've always been able to talk to. Super caring and just all round great guy to me.

Anyways, he has a girlfriend and she hates me. She accused me of trying to steal him from her ( I did not ) and told me I'm not allowed to follow his Instagram ( we're 17 btw)

We were friends before they got together. And anyway, he messaged me on Instagram apologising on her behalf, (ideleted him off everything to stop drama with her )

And then he asked to talk on Snapchat I said yeah sure, we were talking for a bit and I was like are you sure this is okay, I don't wanna cause trouble. ( we were just talking as friends ) and he said yes I promsie

Anyways, should I still talk to him or stop I block him out ?

Like I don't wanna give up talking to him completely because his girlfriend is crazy but I don't wanna get caught up in drama