Hermit crabs choose their shells based on their size, shape, and weight. They use their sense of touch to determine if a shell will fit properly and protect them. They may also test out multiple shells before selecting the one that best suits their needs.