Advise

So I really need some advise, I am currently 9 weeks and 1day pregnant. Me and the dad aren’t together however he said he wanted to be a dad to our child which I loved! But then he said he doesn’t he just wants to get pictures now and then, and then he said he wants to be in the babies life... I just don’t want this to mess with my child when he/she is older he changes his mind every week! :( I don’t want him to come and go when he pleases.. I need hi, to be a dad to our child. am I being selfish.