Originally, "second" or "seconde" were used when there were only two items referred to. "Deuxième" was used when there were more than two. Nowadays, "second" and "deuxième" have the same meaning. That being said, you can never be wrong with "deuxième" whereas "second" belongs to literary style as Eleys pointed out.