Whether you should take a loan from your workplace retirement plan depends on your financial circumstances and plan for using the funds.