Can I cancel and refund my ticket if my flight is canceled or delayed?

Can I cancel and refund my ticket if my flight is canceled or delayed?