You should let the wall dry out first although this may take a while. If you apply any paint coating now then you'll just be trapping the damp that can lead to further problems down the line. It's also likely the paint will lose adhesion prematurely and you'll be back to square one.