Please follow https://www.irs.gov/uac/top-irs-tips-to-know-about-the-home-office-deduction.