You need to have valid and verified payment method for your account.
It for some reason your payment method was unable to be charged you won't be able to download anything, even free apps or updates until you can verify it again.
Follow the steps here to review your payment method, and get it verified.
Change or remove your Apple ID payment information - Apple Support