Should i stay or leave?

I have been with my daughter father off and on for 2 years. Before i had my daughter he used to accuse me of talking to alot of dudes because i had dude friends but i wasnt. Well after ii had my daughter he kind of pushed away from me and hardly said anything to me and was always on his game, the only time he would really talk to me is when he wanted sex but i wouldnt give it to him. So now when i am sleep he goes through my phone thinking that i am talking to other people because i won't have sex with him. He doesnt even like watch our daughter or plays with her really and she is 9months. What should i do?