Know how much of a house you can afford before looking for a mortgage.
Try to get your credit score as high as possible before you begin searching for a mortgage.
Don't acquire new credit card accounts or close credit you already have. This could damage your score and not allow you to get the lowest available rate.