How long does it take to rebuild credit?

Due to everything I’ve been missing payments on things which is greatly affecting my score. I even had a credit card closed because of it. I’m wondering how I can start to rebuild my credit. It’s low right now. Which is sad, but it is. How long does it typically take. Can anyone relate?