Mortgage, Credit, Real Estate

Can I get a Mortgage if I have had a bankruptcy?