we have a thing that is alleged to deter mice - whether it works? - you'll have to ask the mice
we also use traps & find peanut butter or chocolate make good bait (melt the chocolate onto the bait tray ... )
- but only when we have to - see the first paragraph