Investors & landlords

do i need to establish and LLC or keep it as a sole prop to be able to write this expense off?