Paternity Actions

How is paternity determined?