There's usually some sort of instructions on the side of the machines, no? If not, you could always take a picture and post it in here for an explanation.
There are beginner strength programs out there you can follow (
Starting Strength,
Strong Lifts), although those are based on doing free weights, which it sounds like your gym may not have. You could give
Fitness Blender a try. You could also just follow this basic concept: balance push with pull for a given plane of movement. By that I mean if you do a vertical pushing movement like overhead press, balance it with a vertical pulling movement like pull ups. If you do a horizontal pushing movement like bench press, balance it with back rows, and so on. 3 sets of 8 reps, resting 1-2 minutes between sets is a common starting point.
If you want to do cardio, pick a machine and go at it for about 30 minutes or so.
Couch to 5k is a popular starting running program. Just remember: if you're going hard enough that you couldn't hold a conversation, ease up. Simple tip to stay in your target heart rate.
Either way you go, it's a good idea to spend a couple minutes warming up before starting, and then
stretching once you're done.
Don't eat too much junk food, get plenty of sleep and water. Eat more protein if you're strength training. I think that about covers the basics.