Soak the carved pumpkin in a tub of cold water overnight to keep it hydrated. Add a little bit of bleach to the water, which helps prevent mold. Dry off the pumpkin as soon as you remove it. Lastly, rub petroleum jelly all over the edges of the pumpkin.