Pregnant not trying to be single mom

Ok so recently i found out im pregnant by my ex who hates me (i still love him) everytime we talk we argued and now he wont even speak to me what should i do i want my baby to know her father. I dont think its fair for him to just not want to participate during my pregnancy and try to be here when the baby comes am i being fair?