How do you divorced parents do it with a newborn?

How do you do visitation for a newborn when not together anymore? Not everyone has civil relationships some are abusers. So im curious how that works for some people? In middle of divorce now fighting for custody of our 2 boys and due in April.