Each booking shows its cancellation policy before you confirm. Many rates offer free cancellation up to a set number of days before check-in.
To cancel, open your booking from Your trips (or the link in your confirmation email) and choose Cancel booking. Any applicable fee is shown before you confirm.