How did you prep for the GED?

Please no immature remarks such as; "I didn't need a GED, I got my high school diploma."

I am 27 and pregnat and desire to finally get my GED but don't have an idea on how to get it. How to study for it or anything like that. I know I am not at all ready for the test. So if any of you got your GED how did you go about doing it?