Roaccutane is the brand name of a medicine called isotretinoin. It is absolutely prohibited for use in pregnancy, at least one month before conception and at least one month after stopping. The medicine causes severe abnormalities in babies of women who conceive while on this treatment. In many countries this medicine is allowed to be used in hospitals only while in others it can only be prescribed by skin specialists.
The issue is not marriage but conception. It is prudent to stop medication about 6 months before planning pregnancy.