Can you have secondary infertility after having a successful pregnancy?

Thinley
I have heard that secondary infertility can occur even if you have had a successful pregnancy before. Is this true? What are the causes?