what to use to seal inside of doors behind door panel?

would like to know what to use to seal off the opening in the door on the inside to keep water form coming in the car.