Patent ductus arteriosis is a common congenital heart defect. It often goes away on its own. In some cases, a baby needs medicine to help it close. Surgery is an option in other cases.