I need help gaining weight

I've been wanting to gain weight because I'm insecure about some parts of my body and I eat a lot but it's not very effective. Someone please tell me how to gain weight quickly and effectively