Write an article based on this summary:

Acknowledge that the pregnancy is not viable. Ask your doctor any questions you might have. Have a friend or loved one with you for support, if possible. Get an injection of methotrexate to dissolve the ectopic pregnancy. Consent to surgical treatment, if necessary.
Unfortunately, the only treatment option for an ectopic pregnancy is to remove the ectopic embryo. This is because the condition is life-threatening to the mother and fatal to the embryo. The earlier you treat an ectopic pregnancy, the better your chances are of having a healthy pregnancy in the future. Remember that you are doing the best possible thing by getting the treatment you need. As you discuss your diagnosis and treatment options, you will probably have a lot of questions. Don't hesitate to ask your doctor or any other healthcare specialists you may interact with during the treatment process. They can help you understand your condition and what is involved in any recommended treatment procedures. You might ask questions like, “What are the risks of this procedure?” or “What are my chances of having another healthy pregnancy after this treatment?” Getting medical treatment for an ectopic pregnancy can be stressful or frightening. Reach out to a significant other, relative, or friend who can be with you at the doctor's office or hospital to offer comfort and be an advocate for you. If there's no one available to be there with you, some hospitals and medical centers employ chaplains or volunteers who can offer emotional support to patients who need it. This treatment is best when the ectopic pregnancy is caught early, before it becomes life-threatening. Methotrexate works by stopping the growth of embryonic cells and allowing your body to absorb any cells that are already established.  Your doctor may give you the methotrexate as a single injection or as multiple injections over the course of a week. A timely dosage of methotrexate may save your fallopian tubes from serious damage caused by surgery. This can increase your chances of having a healthy and successful pregnancy in the future. Your doctor will need to test your hCG levels over the next few weeks to confirm that the ectopic pregnancy has ended. If your hCG levels do not drop quickly enough, you may need surgery to remove the ectopic embryo. If your ectopic pregnancy does not respond well to methotrexate treatments, or if the ectopic pregnancy is too advanced, you may need to have the embryo removed surgically. The most common surgical treatment for an ectopic pregnancy is laparoscopy, in which the surgery is performed through a tube inserted into a tiny incision near your navel.  Laparoscopic surgery is typically performed under general anesthesia, meaning you will not be awake for the surgery. If your fallopian tube is ruptured or seriously damaged, it may have to be removed along with the ectopic embryo. In serious emergencies (e.g., if you are experiencing severe bleeding due to a rupture), a more invasive form of surgery, such as laparotomy, may be necessary.  Follow all of your doctor's pre- and post-surgery self-care instructions carefully.