Raising your credit score?

Na

Has anyone ever fixed their bad credit score to buy a home? What did you do? What worked/didnt work for you?