The install baseboards to a wall in your home,
use a brad nailer to shoot brads through the baseboard into the wall.  Put putty in the holes, sand off the putty, then paint the baseboard the desired color.