Everything I know about nest boxes (a k a bird houses), I learned from bluebirds. They're among the few back-yard species that by instinct nest inside something.
There was a time when finding a natural cavity was no problem. Woodpeckers did the work for everyone. That has changed, and suitable trees are in ever-growing short supply, so nest boxes help fill that natural habitat gap.
Birds by instinct make particular choices in nesting sites, for good reason. Given short lives on average, many small songbirds — the perching birds, also known as passerines — probably get no more than one or two nesting opportunities in their lifetimes. Success is critical.
Nest boxes look simple, but there are some basics you should consider.
Choose a wooden box, or else a round PVC box. The box is best not painted, outside or in. Choose practical over cute.
Choose a box with tight seams, preferably assembled with screws. The box must be readily opened. You will open the box many times in its lifetime. If you must use any tool other than your hands to do this, you have chosen a bad box. It's best for you if the front of the box opens. It will be more convenient for you if the front swings down to open rather than up. The bird doesn't care. You will when it comes time to look inside.
Why look inside? To see what's going on. The birds won't mind. Knowing what's happening in there is much of the pleasure the box and its occupants can bring you. But views should be quick and days apart.
You also will want to open the box each fall to clean out the used nest.