Scrape as much paint as possible off the floor using a dull knife. Work carefully so you don't scratch the floor.
Mix together a solution of 3/4 cup of rubbing alcohol and 1/4 cup of lemon juice.
Dip an old toothbrush in the solution and test it on a small, inconspicuous area of flooring. Wipe the area clean with a cloth dipped in clean water and let it dry. If the flooring appears damaged or discolored in any way, stop and consult a cleaning professional.
Scrub the paint with the toothbrush using the solution until all the paint is removed. Wipe the area with a clean cloth and let it dry.
Dampen the stained area of the carpet with water. Blot with a cloth to remove any loose paint.
Use a pair of needle-nose piers to twist the fibers and loosen any dry, ground-in paint. Scrub any remaining paint with a wet toothbrush.
Let the dampened area dry, then vacuum up any loose bits of paint.