Sorry if wrong group.

Can someone tell me about custody stuff. Me and my child’s father are divorcing. We weren’t married when I had my son, my son is almost 1. Does anyone know how custody would go? He taking me to court to get full custody of my son.