Hello there alamin233,
If you have a payment method that is no longer valid, you will need to add a valid payment method before you can make any purchases. You can get instructions on how to do that here: If you need to change or update your Apple ID payment method - Apple Support.
For other issues with declined payments, you can get guidance from the Apple Support article on the topic here: If your payment method is declined in the App Store or iTunes Store - Apple Support.
If you still need help after that, you will want to follow the guidance in the original error message you received and contact Apple Support directly. They will have the tools and resources needed to help with your payment issues. You can do that here: Get Support.
Have an excellent rest of your day!