if you're an absolute beginner, start off with a course and try out some different boards.
then decide wether you want to go for something big and stable like a longboard or a malibu or you fancy something a bit smaller. a mini mal, hybrid, fish, short, etc.
My first own board was a small 5'11 hybrid, i bought it upon recommendation, i picked a high volume hybrid with a fat nose so it would be easy to paddle and catch waves. And i must say i love it!
So for a beginner who likes shorter boards, i'd say try a high volume hybrid with a wide waist and some volume in the nose. Or if you're more in love with big boards, check out some mini malibus or longboards. They're very fun to surf in less than good conditions and will be a lot of fun in the beginning but maybe later on, become a bit boring.
Also keep in mind where you're going to surf, are the conditions generally good? are the waves clean, big? then a short board might be more fun. Are the conditions generally a bit less, smaller waves, less clean, etc. then a malibu or a longboard will be a lot more fun!
Small boards are generally easier to paddle through the breaks, a bit harder to catch waves with and a bit more agile/nervous. Larger boards will catch waves easier, be harder to paddle through the breaks, more stable but less agile.
Hybrids are shorter boards with a high volume and fat dimensions to try and take the best of both worlds...
Also, take fcs fins that can be replaced and not glassed/fixed fins because you will break them as a beginner .