There are many versions of a correct answer to this question.
if you are new, it might be worth considering a basic single family home first and foremost. A three-bedroom one to two bath ranch is essentially a commodity. They are the easiest to locate in the easiest to sell, and they have the largest market of possible buyers.
From there, I would consider how much Capital you have at your disposal, your personal feelings about risk, and then finally your financials.
If you have money that you want to invest, then consider the rentals and pushing for the income stream. If you need to build up more cash, fix and flips are a good way to do it. They come with their own set of risks.
Fix and flip is always a viable strategy. You just have to buy right. That's the hardest part. The profit is made when you buy. You have to look for deals that are discounted, because in general, you cannot buy things at retail prices and sell them at retail prices and make a profit. Got to buy it wholesale. The best advice I can give you there is not to buy into a deal just to buy into a deal. Have your parameters and stick to them until you find something that meets them. No matter how it seems in the moment, there is always, always, always a better deal around the corner.