The way to cancel an alarm on an iPhone or Android depends on if you want to cancel the alarm before or after it goes off, or delete it entirely.