Cardio machines. Boxing classes. Yoga sessions. Indoor pool underwater stationary cycling (yes, that’s really a thing). There are as many ways to work out as there are excuses for staying on the couch. But even though there are lots of options—and lots of science telling us that getting enough physical activity leads to healthier, longer, happier lives—only one in five adults gets enough exercise, according to the Centers for Disease Control.

While there are lots of ways to stay or get fit—long walks, pushups and situps, regular tennis games, taking the stairs instead of the elevator—all require commitment. For those who need an extra push, many wannabe hardbodies decide the social and financial commitment of joining a gym or fitness studio will get them moving.

But if you’re thinking of joining a gym, be aware that the fitness industry thrives on good intentions. Most people who sign on with fitness clubs or studios stop using them after only a few months—and many workout dropouts continue to pay monthly membership fees hoping they’ll soon revive their motivation.

So first make a realistic plan. For most people, beginning a new exercise routine is like quitting a bad habit: the more doable it is (and the more you enjoy spinning/basketball/hot yoga), the more likely you’ll succeed. It also helps if your new exercise regimen includes opportunities to see friends or meet new ones. So does an attractive facility.

Start by setting realistic fitness goals, deciding on types of exercises to achieve them, and committing to a schedule. Make a list of reasons you can refer to when your enthusiasm flags. And if you are older than 40, review your plan with a physician before beginning.

Think about your own motivations and interests—and consider alternatives. Do you need to pay a company big bucks for activities available more cheaply than at a private gym or fitness club?

Many people can get fit for free or cheaply by doing pushups and situps at home, and walking, running, and biking around their neighborhoods. A regular soccer or basketball game at a nearby park is not only cheap but probably more fun than lugging weights around a smelly gym. For a one-time investment of a few hundred dollars, you can buy various types of home exercise equipment.

Local governments offer exercise facilities and programs. Recreation centers and local parks have cardio equipment, weight rooms, tennis courts, swimming pools, aerobics classes, basketball courts, sports leagues, and much more—all free or much cheaper than comparably equipped private health clubs.

For example, the recently renovated Weber Leisure Center in Skokie offers a fitness center, ice rink, outdoor golf course, and indoor gym with a range of group exercise classes plus free childcare. It sells a one-year pass for resident adults, with discounts for seniors and youth.

Elmhurst’s Courts Plus is a large fitness center with facilities comparable to a well-equipped private health club: more than 70 pieces of exercise equipment, dozens of strength-training machines, indoor pool, four-lane indoor track, six indoor tennis courts, an indoor climbing wall, and group exercise classes. Adult residents pay $610 per year after paying a $100 joining fee (with discounts available for seniors, youth, and families). You can also use the facility for $13 a day or $60 a month.

The Chicago Park District maintains hundreds of parks throughout the city, 72 with fitness centers, 28 with indoor pools (plus 14 Chicago Public School pools with community programs), and over 150 with gymnasiums. A one-year fitness membership costs $250 (or $80 for three months) and includes access to all the fitness centers in the Chicago Park District. A lap swim membership, which includes access to all of Chicago Park District’s indoor and outdoor pools, costs $25 per month (or $40 for three months).

There are plenty of other government-run fitness deals. Seniors ages 50 and up can use the Arlington Athletic Club inside the Arlington Heights Senior Center for $215 per year. Glencoe residents over age 65 can join the well-equipped Takiff Center for $215 a year.

Click here for a list of the government-operated fitness facilities we could find in the Chicago area.

Think you’ll eventually join a private health and fitness club? Still spend a few weeks trying the alternatives. It’ll give you a better idea as to whether you’ll stick it out at a gym and which activities and facilities matter to you. Then check out our ratings of area gyms and fitness centers to identify those that offer high-quality facilities and staff at reasonable prices.