Can I apply for a credit card as soon as I pay all my debt?

I finally able to pay all my debt today after being in debt for 5 years. When is it best to apply for a credit card?

Can I apply for a credit card as soon as I pay all my debt?
Post Opinion