Use a 2 1/4 or 3-inch brush to online walls and ceiling (a technique known as "cutting in ") and extension roller to fill in.
Dampen brush slightly with water (if latex paint is used). Remove excess liquid.
Load dampened brush by dipping 1/3 of its bristle into paint, lift it , and gently tap (not wipe) it against paint can's rim.
Paint ceilings before walls. Textured ceilings will probably require a sprayer. Paint ceiling widthwise rather than lengthwise.
Paint walls in an up-and-down motion. a "W" style may also be preferred.
Paint areas not reached by roller (e.g. corners) by holding the brush as you would a pencil.
For rollers, dip roller in tray full of paint then roll it up against tray until saturated.
Roll paint on the wall in long wall-to-ceiling strokes. Overlap areas that are still wet to prevent brush marks.
Note: When painting windows, don't worry about getting paint on glass. Just let the paint dry enough to touch (not overnight), then cut dry paint with utility knife near window wood framework, an scrape it of with a painter's tool, razor blade, or putty knife. Peel quick-release tape as soon as painting is over, then wipe off smears that are still wet.