I should have prefaced my comments by saying I live in London which does complicate things.
I have joined a couple of 24 hour gyms in the past but unfortunately I work out of town and start early (8am) so the public transport schedule's don't allow me to work out before work and the nature of low cost 24 hour gyms is that they are far too busy for me to use in the afternoon.best advice I can give is find a nearby 24/7 gym.
has really helped me with consistency
Sadly living in London I barely have room to swing a cat in my apartment let alone a barbellWhat about buying a home gym
Some good second hand stuff on gumtree etc