As it's been pointed out, this really depends on what you're trying to do, how well your current program is going for you (and, if it's not working, whether that's because the program isn't good for you or because you aren't eating or resting appropriately), and other individual factors. I generally recommend full-body to beginners, because it allows lots of practice throughout the week without normally accumulating too much fatigue per session. I often recommend
this fullbody starter program, which gives you 2x10 of the main movements 3 times a week, adding up to 60 working reps of each exercise -- this is good for the learning curve, enough stimulus for most beginners to make progress and a small enough stimulus to easily recover from.
Of course, different strokes for different folks, and as you progress you'll need different things. Once you've attained a certain degree of mastery over basic technique (you never achieve true mastery, but with practice we can all achieve basic mastery, which is doing the exercises with a technique that is generally safe, generally useful, and not having to think much about it), have progressed a certain amount and have built up a higher workload tolerance, it may become more appropriate to train over a split, meaning less frequency of each lift/muscle group (as you don't need to practice as often) with more volume (creating a higher training stimulus and demanding longer recovery between sessions of the same lifts/parts).