Use a high-quality packaging tape that is designed to adhere to low-energy surfaces like polyethylene or, you can fold over and staple the area shut and then seal over the holes made by the staples with the recommended tape. If you have a large rip that you cannot close easily with tape or staples, you should replace the bag with a new one. The best seal is always a heat seal.