The show you're thinking of is likely Celebrity Big Brother.
This reality series houses past stars and B-list celebrities together for a set period. They compete in challenges and vote each other out until one remains. Versions exist in the US, UK, Canada, Australia, and other countries.