It’s best to leave the lid off the can so the paint dries out. If it’s water-based paint, it can then be thrown in the trash, although increasingly there are curbside collections to recycle the metal from the can. If it’s oil-based paint, it contains hazardous chemicals and needs to be disposed of properly. Check the website of your municipality for disposal of paint in your area.