It depends on the kind of medication used. If it is interferon or long-acting interferon, an abortion is recommended. This is because this drug has a significant teratogenic effect on the fetus. Also, contraception is recommended for six months after stopping the drug, and you can have a baby only after six months of stopping the drug. However, if you are treated with nucleoside analogues (including telbivudine, lamivudine, entecavir, adefovir, etc.), recent guidelines updated by the NIH and some international societies suggest that treatment with lamivudine or telbivudine can be continued or switched to when pregnancy occurs, without the need to discontinue the drug, much less have an abortion.