More often is not automatically better.
Almost nothing puts people under as much pressure as this question. A lot of people feel they should be in the gym more often than their week allows. But the answer depends on only two things: what your goal is and how fast you want to get there.
Once a week is better than nothing. If your goal is simply to move your body, that is perfectly fine. But if you want to see real changes, you need to come to the gym at least twice a week. Three times is better still.
Nobody needs more than five times a week unless training is their job, because rest is just as important as the training itself. Going past your limit will not get you there any faster.
So what decides it is how you combine your sessions, so that the body recovers while you train. One popular way is push, pull, legs. The muscle groups that work together are used in one session, and in the two after that they are off. That way you can train on consecutive days and still get your rest, even six times a week if you want to.
There are a few finer points to it, and that is exactly what we talk about in our sessions: how to combine your trainings, what timing fits your week, and how to get the best result out of it.