To avoid this before painting, it's best to carry out a simple test that will help you tell if you're painting over oil or latex paint ... it easier for the new primer and paint to stick to ...