DP Stocking uneven stitches Help

I am having trouble with loose stitches where there is a color change near the end of a Double Point needle. After 4 stockings with this problem, I realized I could have worked on circular needles, but is there a tip for this? Even if I knit the stitch nicely, it pulls loose by the time I’m back around. Thanks!
I see I accidently posted this in Casting On. I apologize. I can’t see anywhere to change it.

I usually move color changes away from the ends of dpns if possible. You can also tighten up a bit on the st at the beginning of the next needle and that may help, too.