Can You Buy a House With a Self-Directed IRA?

How you can buy a property with your self-directed IRA or 401(k).