In the theatrical ending he goes back in time far enough to where they were little kids and basically scares her away for life. So they never know each other and she presumably has a good life
In the alternate ending he goes back in time to when he was still in the womb and strangles himself with his umbilical cord .