Heey ladies, I need some advice...

Can anyone tell me how to stop feeling guilty over everything? I understand that feeling guilt is normal and a natural thing but I find that my feelings of guilt is excessive. For example, I remember a guy friend - who knew I was dating him - sent me a dirty pic and before I opened it he told me its explicit. I didnt even open it and I told my (now ex) bf about it and I cried because I was sad that this guy was trying to infiltrate on my relationship and be sneaky while my ex bf was just on video so clueless to it all. It made me feel so sad that he was just innocently on video and some guy is sending me pics like that. I felt guilty when I did nothing wrong.

Another example, I broke up with my ex because he had broken my heart countless of times - lying to me constantly, telling me he wants to marry me then taking it back later, being cold and distant for literally no reason at all (his reasoning was because of mood swings), etc. However, I find I'm okay with the break up but I feel guilty about leaving him. I feel like I left him and didnt try hard enough, or didnt understand him enough, etc. I feel guilty for HOW I broke up with him... could I have been nicer? Should I have said things differently? I even feel guilty about him having to tell his family we are over and having to deal with those emotions too??? Its very hard to explain, honestly. I know its excessive but it's just the way my heart works I guess??? Can someone give me some advice on how to get rid of it? Or at least explain why I feel like this??? :(:(:(