The best way to really learn about that is by running into these issues and resolving them day in and day out. Most of the time, your computer system will tell you what's going on but if not, call them up. They can help you as well.
It's really hard to generalize but most of the time, Medco, Caremark, Federal plans allow 3 month supplies on meds but even then, some of these plans don't.