If you need to cancel an appointment, do so as soon as possible so that I can also adapt to that unexpected situation.
Normally these situations are few and far apart, but they are very uncomfortable, and though I'm very understanding, if there is a good reason, avoid making them a habit.
If you give me no warning whatsoever, you better have a very good excuse the next time you contact me, or you are better off not contacting me at all. My trust is earned in time but can be lost suddenly if I get to consider you as an untrustworthy person.