Obviously people wear shoes indoors outside of the home. (The norm for a gym would presumably be a pair of sneakers.)
In the US, my experience is that people will sometimes/often take off shoes when they come into a home especially if they're going to track in snow, mud, etc. But it's certainly nothing like a universal rule and probably isn't even the norm.