Friendship problems//HELP

Okay so my friend had a massive break up with this girl she’s been around all the time and I know that her and that girl didn’t think I was a good person for some reason. So she’s comeback to being friends with me and the other day she had a problem with her social media so I logged on and fixed it for her but me being anxious and I know it was really bad of me went and read her messages with that girl.

They hadn’t talked for about two weeks but when they were good my friend always use to bring negative text conversations with her about me, saying that I’m attention seeker, like to make people feel sorry for me and am needy and only care about my own problems. She’d always tell me the opposite and when she had problems with the girl she’d say things about her too but then say I was telling her them.

She thinks that I’m okay with everything at the moment and asked me if I want to do something next week but i actually can’t be bothered with her at the moment, what should I do?