Rats in your home can bring diseases and attract other rodents. If you find out that you have a rat problem, you will want to get rid of them as soon as possible. Your choices are to buy a rat trap system from the store or build your own system. Building your own system is very inexpensive and simple to do.
Bend the cardboard so that it can lean against the dustbin with a flat portion at either end. You will lean it against the dustbin at a 45 degree angle. Secure the cardboard by taping the bottom to the floor and the top to the dustbin. This makes a ramp that the rat can crawl up. Make the cardboard extend over the top of the dustbin by six to eight inches. This will create a platform over the dustbin.
Cut two slits in the platform to make a little flap. Bend the flap back and forth to make it flimsy and weak.
Put a dab of peanut butter on the flap. You can use another treat for the rat if you like. When the rat goes for the peanut butter, it will step on that weak flap of cardboard and fall into the dustbin.
Put your rat in a shoebox with a lid, and drop it off at least a mile away from your home and other homes.
Wear gloves when dealing with your rat in case it tries to bite you.