Boyfriend found out a previous sexual partner of his had a baby possibly his.

My boyfriend just found out a girl he slept with in September had a baby on Friday. He thought it was another mans child and now he's not so sure. I'm trying to be here for him but I don't know what to do for him. Even if it ends up not being his child this changes everything!