rental

Rented condo for several years. Last year it was advertised for rent but never a renter. Can I write off the rental loss and depreciation, mx, etc (with some personal use). How do I enter the loss?