Weight gain for a diabetic - URGENT HELP

Hi all, I am a 21 year old male who currently weighs around 53 kg and is 175 cm tall.

I have just started using this website today, I have been struggling to put on weight ever since i was diagnosed with diabetes type 2 last year in April. Since then I have only been losing weight and I really could do with some tips or advise on how to put on weight so I can have a healthy BMI.

If there is anyone out there that could share some foods/tips or anything to help gain weight then please, please could you share it??

Thank you in advance!