Assuming you want to varnish an acrylic painting:
The best way to clean an acrylic painting before varnishing is to use a soft, lint-free cloth dampened with distilled water. Gently wipe the surface of the painting in a circular motion, taking care not to scrub too hard and damage the paint. Once the surface is clean, allow the painting to dry completely before proceeding with the varnishing process.