If cleaning your filters has run its course and you have to replace the entire thing, you may be concerned about the environmental impact. Some manufacturers offer a system that allows you to return used filters to them to be recycled (source).
If your filter manufacturer doesn’t provide this option, you will need to dispose of your filters as you would any other household waste. Your filter’s material might be recyclable via other means.