Make sure to always install a drip cap flashing over the head casing of all doors and windows. A flashing will prevent water from penetrating the door or window frame.