Agree wholeheartedly with Planet Fitness.
They even made national news a while back for kicking out a female member that was making anti-trans comments. Their only downside is that if the exercise you want to do requires a spotter, their staff is prohibited from doing it, for liability reasons. Once I started HRT I no longer had a need for free weights and can do aerobic and calisthenics exercises at home, so the cost, while minimal at $20 a month still didn't beat free.
One thing to keep in mind. Any workout is easier and more fun to do with a friend. You also have a ready spotter for heavier exercises, and a personal motivation assistant. You might have to pony up the membership fees for them if they're broke and your gym has no guest allotments, but usually worth it for the results.