Most paint failures start before the can is opened. Wash walls with mild soap and water to remove grease and dust, and let them dry. Fill holes and cracks, then sand glossy surfaces lightly so the paint grips.
Tape edges with quality painter's tape and press it down firmly. Remove switch plates instead of painting around them. Use a primer over stains, bare patches or big color changes.
Apply two thin coats, cutting in edges first and rolling while the edge is still wet. Wait for the recoat time on the can. Remove tape while the last coat is slightly tacky for clean lines.
Next in Home Improvement: Seal drafts with caulk and weatherstripping
All Home Improvement guides
Get one useful guide a week
New home, garden and smart-device guides in your inbox. No spam, and you can unsubscribe at any time.