Of course you can.
If you change to a higher plan, it is immediately active and all remaining credit will be credited until it is used up.
If you switch to a lower plan or the free plan, you will keep the plan you have already paid for until the end of the current period and will then be downgraded.