Alternative to Metformin Due to Side Effects Encountered?

I wanting to treat my glucose levels which has not improved on TRT or off, I tried berberine with no success and want to know the next best alternative.

Thanks.