how do I increase my appetite?

I’m used to having a big appetite and eating a lot without gaining weight
However lately my appetite has been blocked most of the time, sometimes I’m hungry but I have no appetite to eat, so I don’t. I lost a lot of weight that I want to restore but I just can’t eat… what do I do?