Claim a dependent half the year

My first time filling half the year with my child's father.  How do I make sure I'm doing this process correctly