Brush a coat of primer to areas with wood showing. If you are repainting molding, then you only need to prime in spots that are larger than an eraser tip or spots that are in areas that are highly touched.
Let the primer fully dry.
Brush your first coat of paint. If you did not tape the walls or don't plan to paint the walls, you will carefully need to use a brush to cut in for a clean line. You could also use a drywall knife again to stop the paint from getting on the wall.
If you do plan on painting the walls, just make sure that there are not any drips on the other surfaces.
Paint 2-3 Coats with your trim paint.For best results that will last, make sure you wait for the proper dry time in between layers and apply two or three layers.
Pull the painter's tape away from the molding. We also like to take the tape off as soon as the paint is pretty dry. This way if any paint leaks, you may be able to scrap it off with your nail or clean it up before the paint starts to cure.