Actually, covering the area with newspapers, before painting is a good idea to prevent droplets from falling. But, if the damage has already been done, you have no choice but to resort to the damage control methods to save your carpet from getting permanent stains.