Creidt

Is it possible to get your credit score back up to a good score ? I’ve had a credit card with capitol one but they closed my card due to the funds that I needed to pay off. Due to situations I was unable to pay it off which is why they closed it. But I have the funds to pay the line off. Any advice that could help ? I’m really trying to get my credit back to a good score !