Switching clinics: This happens all the time & we encourage patients to find clinics that work the best for them. It's generally good practice to let the clinic know that you plan to stop working with them though, as they can either help you or it will stop them from making a new order. The time between when *they* place a new order & pay for it can be well 3 weeks before you would receive it.
When can a clinic charge you: This is going to be up to their ToS that you signed when you joined them, so more of a legal thing than a medical clause.
The best thing you could do is look around & see if you can find their terms of service on their site to know for sure. Then you should let them know as early as you can. Most clinics space out their costs over multiple months for a patient & if someone is leaving may have the right to keep charging them. But many will care a lot less if they've already made back their money from a few charges and aren't *losing money* on you leaving early.
Just note that when starting a new clinic, since it does take awhile for an order placed with a pharmacy to get to a client, it is best to start when you know you have a solid 4 weeks of supplies left or you may risk running out before the new supplies get there.