I'm so sorry that you've had to deal with this at your age.
I have a couple of questions.
What was your fsh level?
Did the doctor tell you if your ovaries have completely stopped functioning on their own or if you're in an earlier stage of pof?
There are options but they still depend on "nature".
Elevated fsh levels indicate diminished ovarian function, reserve and quality but some women respond well to medications and hrt.
If you can acheive some ovarian funtion, ivf with pgd (pre-implantation genetic diagnosis) can afford you some hope.
Sometimes the egg may appear fine, but the quality is compromised. Pgd ensures that only quality, healthy embryos are transferred during ivf and, while it costs more, it eliminates the guesswork.
While there are no guarantees, many women with your condition have gone on to become mothers.
I hope you're one of them.
Just a word of advice... Find a fertility specialist or reproductive endocrinologist now. Don't trust your gynocologist with this. They often don't know very much about fertility beyond the basic "mechanics" of it.
I wish you all the best.