To ensure that you never come across this issue again, buy a toolbox and start filling it with, both, power tools and hand tools.

Hammer
Tape Measure and a Combination Square

Set of Screwdrivers

Wrenches
Pliers

Staple Gun

A staple gun

Drill
Sander

Paint Sprayer
As your DIY experience grows, so will your appetites for more challenging projects. At that point, you may wish you had additional, more specific tools. However, until that moment comes, consider the proposed content for your toolbox. Once you have the right tools in place, the range of things you can do will increase significantly. The tools will also make your work easier and more enjoyable.
