the best way is to use a multimeter but if you dont have one, use your home speaker..... attach the red(positive) wire and black wire of your speaker to the battery if your speaker cone pushes outwards,.. then you got your polarity right. red wire is the positive side of the battery. if the cone pushes inside,... then the polarity is reversed. revers your battery till you get an outward motion of your speaker.