Honestly I would rather just workout at home than at a gym. Not only do you get to workout in the comfort of your own home without the judgement, you also can save lots of money this way too. But if you absolutely feel like you can't workout at home and have to go to the gym, go when there's less people. Whether this is very early in the morning or very late at night, most gyms are 24 hours and more people are going to want to workout during the day. Or simply just put some music on and do your thing and just ignore the world around you while you workout. Most people are there to just mind their own business anyways.