Accutane and future pregnancies

Hello!

I’m about to start accutane next month and heard about all the risks with pregnancy while you’re on it, but once you finish and are no longer taking it, is there still a risk on pregnancies? Thank you! :)