Prep trim molding by going throughout the edges exactly where it meets the walls with the point from the putty knife to open any cracks there so they can be re-caulked. Also, use the putty knife to scrape off any unfastened, peeling paint over the flat surfaces on the moldings. https://bookmarkswing.com/story10315069/the-ultimate-guide-to-how-to-prep-and-paint-wood-cabinets