You obviously have to see these 2 relationships as completely separate. Make a note of the positives that you have found in your girlfriend and work to make those stronger. If you have a level of compatibility than work to solidify that. One thing you must avoid is romanticizing. This is where you remember all the positives of a person or relationship. You do not focus of course on all the negative qualities. This gives you the ability to forget the things were awful and those leading to the breakup. If you can accomplish both of these skills then you will stop comparing. A lot of times we want to remember things with rose colored glasses. That leads to such a situation as this. Focus what is positive about your girlfriend and how to be a healthy family. When any thought about your ex comes to your mind immediately put this out of your mind. It can also be a way to avoid stress in your present relationship. We always remember things better than they were.
If this has been helpful press accept