Please follow https://www.irs.gov/uac/newsroom/plan-ahead-for-tax-time-when-renting-out-residential-or-vacation-property.