[header] How to get rid of raccoons [title] Secure trash can lids. [step] Use a rope, chain or bungee cord to tie the lid into a secure position. Alternatively, you could weigh down the lids with weights, bricks, or other heavy objects. 
Aim for about 20 pounds (9.1 kg) of weight to prevent the strongest adult raccoons from getting in. [substeps] You could also purchase trash cans with latches or locks if they're within your budget.