Before you put anything in your backpack, put a trash bag on the inside. That way, there's an extra added layer to protect against rain. Then, when you pack your clothing—or anything else you need to keep dry, like your food—put it inside resealable plastic bags, and put those inside the trash bag.