It depends on how advanced you are.
If you are a new lifter, I recommend starting off doing full body workouts 3x per week. Focus on the big compound lifts and learning proper form. Squats, deadlifts, overhead press, bent over rows etc.
Once you get more advanced, you are going to need to do more volume per workout to make the muscle respond. Then I would split up your body into 2-3 days. One of my favourite workout splits is
1. legs abs
2. chest shoulder triceps
3. back biceps
4. off
repeat