Can you go to college with a GED? How?

So I dropped out of HS in 9th grade, due to anxiety and depression. Ever since I’ve realized how important it is for me to at least TRY and go back to school.

How long would it take to get a GED? Pros and cons?