Make sure you've got a good-quality angled brush to paint the trim with. It's a good idea to paint your edges first and then your flat faces. For a smooth finish without visible brush marks, use long brush strokes, working from the top down to the bottom. Just like when you’re painting the walls, it’s best to work in small sections and make sure all areas have equal coverage.