Please help!!!

So I’m 17 and saw a gynecologist today because of some really bad pain. They said I will have to have a hysterectomy. Me and my boyfriend have been together for years. They said I can have one year. We are ready but we have to get pregnant soon. Any ways to help?