Scrape away all loose paint, if you have bare brick or render that feels powdery it will need stabilizing solution to seal it, then repaint the wall in masonary paint... do this in drier weather - spring time to give the wall time to dry out if damp has got in.