Loves me Not

My boyfriend said he didn't want a commitment. We broke up and got married & they're having a baby. He obviously Loved me Not. How do I get over this?