how to deal with being cheated on

I was cheated on twice by the same guy and I found out after we broke up. I am so upset I am scared I caught something from him what are my legal rights in regards to this? And how do you deal with being cheated on??? 
Help :(