Hard time accepting so's child

He cheated & had her while we were together & every time I see her I just wanna break down. I feel so bad that I feel this way about a freakin CHILD. Can anybody give good advice on how to overcome these feelings? I need to learn to love past this.