Check your credit report and find out if there is any error's in it, correct those first and try to apply to credit card from your bank (where you are depositing your salary) and wait for few months (min 6 months) and again check for your credit score and if it is more then 750 then go for home loan. You may get the home loan but to get the best interest rate, you should have credit score of >750.