You still have one remaining ovary, which should be enough to carry on for you. You did not give your age. Give yourself some time and relax and don't worry. Your hot flashes may go away as quickly as they came on. Stress often affects hormone levels.
Some women do have early menopause.
If it occurs before the age of 40, it can be Premature Ovarian Failure. It could be abnormalities or stress. One of the things we have learned is that perimenopause and menopause can have great variability. Any woman may have changes in her cycle or onset of symptoms at any time. Women with diabetes, especially Type I, find they may have an onset of menopause a full ten years before normally expected.