How does upgrading/downgrading an app subscription affect billing cycle dates?

I meet the same problem, how do you process it? And if I downgrade to a low-price plan, what happens to it? Thank you