What can I do for dysgeusia?

Hey ladies, I am currently 17 weeks pregnant and I have a 9 month old that I breastfeed but the problem is I have to wean my 9 month off due to having dysgeusia this pregnancy. If you don’t know what that is it’s basically just food aversion, but it’s so bad I can’t eat hardly anything. I went to my 14-week appointment and had lost 20 pounds in 4 weeks. I just need advice on what I can do for it and who all had it. When did it go away for you? Thank you!