Pregnant back to back

I was told I couldn't have children, I tried for almost two years with different medications but couldn't have a baby. Finally I conceived and had my baby early due to complications. Two months later, I got pregnant. Anyone has children close to each other?