Maybe don't book places with fewer than 5 reviews? Same goes to airbnb or any platform that allows for anyone to publish a listing.
On the other hand had one severe issue with a booking on airbnb and they essentially told me to go fuck myself.
I've used booking.com around the world and I can't recall any serious problem. When dealing with an issue, AirBnB error flow often sucks and booking is mostly fine.
When AirBnB works out great, you can find some real magic, but when it fails it really sucks.
I've found booking.com is usually more hotel-like and professional (e.g. contactable and reliable).
I still use both but I'm careful to choose depending on perceived risks.
Disclosure: long booking.com
Last I heard they're also a company that actually hires juniors there.