As @Bronwyn100 has said, it depends what cancelation policy you have chosen.
Go to the listings tab, click the listing and scroll all the way down to cancelation policy. It shows which one you have activated, and if you click on it, you can see short descriptions of each option. For a more detailed explanation, follow the link sent by @Elisa