Had a disagreement with my friend and he hasn't spoken to me since, what to do?

Everything was going as usual but then I noticed that the frequency with which he texts me was getting lower. I didn't give it too much importance because I thought that maybe he is just busy, I trusted that he'd tell me if there was a problem. Then a innocent joke I made provoked something and he told me that he is losing hope that I'll ever understand that he wants to play with me, be free and chill. I felt attacked because I'm going through a lot of troubling events right now and I felt like he complotely ignored my state to tell me that he feels the way he does. I replied with arguments and he ingored everything I said and any attempt of trying to solve or talk things through were futile. I was already feeling like crap for my things but now I'm feeling even worst. I don't know what to think, what to do or even if I should do anything at all
What should I do?
Had a disagreement with my friend and he hasn't spoken to me since, what to do?
Post Opinion