There is no link between bed wetting
and pot, actually some Californian physicians prescribe weed to cure bed wetting (with not so good results).
The drug most linked to bed wetting is GHB, in second place alcohol.
With regard to stop smoking
, it is not clear to me if you are referring to pot smoking or sigarette smoking. There are good way to stop both, but stopping tobacco is definetly harder because of addiction and may require the help of your doctor.