How to rebuild credit score?

How to rebuild credit score? I can’t get approved for a credit card because I couldn’t pay my car payment or car insurance for 2 months cause I lost my job. Although my credit score is around 530, which isn’t too bad. But I have a lot of inquiries on my report from trying to…