What do you do when

Your gauge is 1/2 a stitch off whether you go up or down a needle size?

It depends. What are you going to make?

Use one size for the knit stitch, and another for the purl.

Or make a different size.