Pay up front
Join a class that meets at specific times.
It need not be expensive, but pay in advance. You'll be far more likely to actually go and use it. If you can do this on your own, you may not need to join a class nor get a personal trainer, but if you can', it will be worth committing to, and paying for, a fitness program.