This first step which i see you are working on his improving your credit. The higher your credit score the better your interest rate can be. Also, save for the downpayment and moving expensive etc. that come when buying a new home. Lastly, once your credit is in order to obtain a loan. i would suggest you contact them now so a lender can tell some things to work on.
In addition to cleaning up your credit you will need to save some cash, rule of thumb is 10% of every paycheck. Please don't hesitate contacting me if I can be of further assistance - email@example.com
You're also going to have to qualify for a mortgage which will require you to improve your credit which you seem to be working on. I've atttached a link below on how to do this as well.
Finally if you have any access to a Credit Union (as a lending source) I would suggest you speak with them about a mortgage before going to the tradtional banks. I would avoid any of the big banks (wells Fargo, Bank of America, Suntrust etc) as these banks make things much harder than they need to be.
Best of luck to you.