DNA testing?

How do I go about getting a DNA test done? Do I just ask my Dr or what? I know who the father is without a single doubt but he has some doubts. I'm currently pregnant and would like to have the test done now rather than waiting until the baby is here.