You can always use cash from your checking or savings account to buy real estate. However, when using retirement funds, there are certain funds that can be used.
Account Types that CAN Be Transitioned to Self-Directed IRA (SDIRA) Accounts
Here are some 401k Facts that will help you navigate using your 401k to invest in real estate: