If a guy cheats on a girl and than the girl cheats on him because he did it to her first , is that actually classed as cheating?

If a guy cheats on a girl and than the girl cheats on him because he did it to her first , is that actually classed as cheating?
Post Opinion