If you want a hassle-free purchase, go get a pre-built PC from a reliable local/online PC retail shop that offers good aftersales service and warranties.
But if you want a cheaper alternative, there’s nothing better than building your own PC out of choosing the right parts for your right needs out of your own budget. And what’s better is that each components you buy has each of their own warranties, not only from the store but also from the respective manufacturers too.