what do i do with my baby?

I made a mistake in committing zinna, i am not married and i have recently had the baby and have handed it to social services. he is now in foster care and i do not know what do, whether to give it up for adoption or not. me and the baby’s dad are fine, and would like to get married and keep this baby, and if i give my baby up, this will haunt me for the rest of my life, he is the only good thing i have.