Sink and shower waste is tough on pumps! Abrasive grit, soft solids with a tendency to clog, hair that can wrap itself around shafts and interfere with seals... choose a quality pump that will last the course.
Protect the pump with a suitable inlet strainer, use a hair-and-grit-tolerant pump - or fit a JABSCO shower sump pump kit with an integral strainer.
Whichever pump you choose, the key to trouble-free operation is regular inspection of the pump and/or the strainer, and cleaning it as often as necessary.