Use a silicone-based caulk specifically made for bathrooms and showers, as these are waterproof and mold-resistant. You can also choose from different colors to match your shower tiles or decor.