To dispose of something means to get rid of it.
He disposed of the can by throwing it into the recycle bin.
Example picture