What should i do...

I’m 22 weeks tomorrow and i just found out my SO is texting other females. they didn’t reply but it still hurts. i just don’t know what to do. i love him and want to work this out but i just feel so worthless, as he calls me fat dumb ect ect. am i wrong for trying to make it work ? or should i just give up