Should I buy an apartment or a house?

Hi everyone! I've been exploring the idea of getting a property of my own and after doing some research I'm still on the fence between buying an apartment or a house.

Both have their pros and cons. Would love some insights and opinions or personal experience from those who've had both.