How do I set up auto-delete for my contacts to reduce the number? ie if they haven't opened an email in +2 years, remove them from my database

My database of contacts is huge and we need to set up an auto delete of contact who haven't opened or received one of our mailings in over 2 years. 

Can someone please tell me how to do this?