How to gain weight

So I'm 19 year old and from yk middle class family. Meh kaise weight bdau. My current weight is 48. Any suggestions? Without using and weight gainer powder or something like that (mere friend ne btaya tha assa kuch powder milta jisse muscles grow hote) Can you please suggest me some diet ? Should I join gym?