Talk to your doctor about getting help to quit smoking. Most doctor give advice and suggest medicine to help with withdrawal. Some will need prescriptions while others can be bought on your own.
Do you want to to reduce the chances of gaining weight? Then follow the suggestions and tips, but accept the fact that some weight gain may be normal as your body adjusts to a major physical change.