Your question is unfortunately too vague to give you an answer with any certainty. However, I can give you a general answer. Most 401k plans will allow you to borrow up to 50% or $50,000 (whichever is less) from your plan. You can easily find out more information by contacting HR or your 401k provider. Good luck!
There are several methods that can be used to borrow money from your 401K. Do be aware that penalties exist if you are under 59 1/2. Contact your HR representative to see if you fall into any of the hardship categories. Best of Luck