Most of the time it is not working because it is not getting the kind of shots you want. So start by looking at your rules and at the shots you are trying to create from it.
Motion is one of the hardest things to teach in basketball. It is like a graduate-level offense. You are giving five players the ability to pass, cut, dribble and shoot, and a lot of coaches run set plays so they do not have to do that. Sets limit your players' creativity, and motion asks you to give it back to them.
If you stick with it, it gets better through the year. Then you learn what rules you need to add. Maybe you need a post touch every other time down the floor. Maybe you need more screens for a particular player, or screens on one side of the floor for him. Maybe you need more side-to-side ball movement. You figure out what works for you.
Then work through the pieces. If it is not screening, try cutting. If it is not cutting, create space for dribble drives. If none of that works, try to post up. If that is not it either, take a look at actions.
There are a lot of different ways to run motion. Check your rules, check the shots you are getting and give it time.
More Offense questions
Free playbook
Get the free flex offense playbook
Every flex cut, starting set, counter, special and drill, with all 30 diagrams, in one printable PDF.