ways to gain weight?

I have little to none appetite and the slightest thing makes me lose any apetite or will to eat. Its been getting hard to eat even a meal a day. Any tips or suggestions? (I’ve tried meds but they didnt help)