I Changed Apple ID password
Then see this Apple article: What to do after you change your Apple ID or password
What to do after you change your Apple ID or password - Apple Support
-----
You can download free apps, but you may need to have a valid payment method on file, even if the app you want to download is free.
Free apps has also In-app pruchase.
You can have a credit card / debit card on file and an Apple Account balance.
If you have set your Apple Account balance as your default payment method and you have a CC / debit card, you pay from your default payment method.
Sign in to your Apple ID account page and edit / update your Apple ID details -> https://appleid.apple.com
- On the Sidebar click Payment methods -> then tap Payments Methods and tap Manage payment method.
Or see -> Add a payment method to your Apple ID -> Add a payment method to your Apple ID – Apple Support (UK)
See also the following Apple articles:
Payment methods you can use with your Apple ID
Payment methods you can use with your Apple ID – Apple Support (UK)
fyi: Not all credit & debit cards seem to work with App Store / iTunes Store, try a different one, or preferably a credit card.
If your card is not accepted as a paymenf method, you need to contact your bank.
What you can buy with your Apple Gift Card or Apple Account balance
What you can buy with your Apple Gift Card or Apple Account balance – Apple Support (UK)

and ⤵️
- You can't use your Apple Account balance to send gifts or gift cards.
- If you use Family Sharing, your family members can't spend your Apple Account balance. Funds that you add to your Apple Account balance are only available to you. Find out more about how purchases are billed to your Apple Account balance.
- Some purchases might require you to have a credit card on file, even if you use your Apple Account balance to make the purchase.
If you have followed all the steps and instructions and if you still need help, get support from Apple directly -> Get Support or call Apple in your region see -> Contact Apple for support and service or check -> here for more support and assistance.