When my stuff breaks, I typically start by dropping an e-mail to the manufacturer to ask them what to do. Just a quick, "I really like this product you made, but this happened to it. How should I fix it?" I always try to be very polite when doing this, because the folks who answer customer service e-mails have to deal with a lot of crap, and I want to be sure that my e-mail isn't more of the same.
A lot of companies will just offer to replace or repair stuff. Often for free. It's good customer service, because they want to keep your business. Even if they don't, they might have suggestions for materials or techniques to use to best repair your stuff.
Failing that, I always try to fix my stuff. It doesn't really matter what it is. Computer, tent, window fan, whatever. At worst, I'll learn something about how it goes together in the process of wrecking it forever. At best, I'll have a funny looking but functional thing where a few moments ago I had a broken thing.
Then, if I can't make the thing work again, I can go out and buy a new one. Or a new part if it's a thing where I can replace parts.