How do i gain weight healthily ?

Recently I’ve been using fast food and chocolates to gain weight I should find a healthier way to gain weight fast.