Assuming you are referring to using a room in your house for a home office, you can only deduct the area that is strictly used to business purposes from a self-employed job. You cannot deduct any home office expenses if you are working as an employee.
Please see can I take the home office deduction for more details.