Firstly, you will need to refer to the cancellation policy for the property you are renting.  Each property will have a different policy so you should review this carefully before booking.  Some owners will allow a refund on cancellation within a certain time frame others will have a strict no refund policy.