Some people choose to plant species that animals just don’t like. Many herbs like mint and lavender taste bad to some animals. Same with cistus, echium and other furry-leaved species. Ferns, irises, daffodils and lilies famously enjoy immunity from the appetites of many larger creatures as well. Take care and do plenty of research with this method, though, as some plants may be safe from one animal but not others.
Find out other preventative measures you can take from letting bugs get into your house.