Breaking up is so hard

Broke up with my boyfriend of 5 years. 
I think he cheated because I got PElvic inflammation but he kept denying it but it was time to go anyway. Why does this hurt so much?? And how long with it last for :/