Cutting ties

What the best method of cutting ties with someone, or the father of your unborn kid at least until the baby is born and a DNA test happens?