Hello, welcome to JA. You need to know if Parallel or Series. One will increase the voltage , one way will keep voltage the same. below is diagram for reference
Connecting in Series When connecting your batteries in Series you are doubling the voltage while maintaining the same capacity rating (amp hours). This might be used in a scooter, Power Wheels kids vehicle, or other applications. Just use a jumper wire between the negative of the first battery and the positive of the second battery. Run your negative wire off of the open connector from the first battery and your positive off of the open connector on your second battery. Connecting in Parallel When connecting in Parallel you are doubling the capacity (amp hours) of the battery while maintaining the voltage of one of the individual batteries. This would be used in applications such as laptop batteries, some scooters, some ups backups, etc. Use a jumper wire between the positives of both batteries and another jumper wire between the negatives of both batteries. Connect your positive and negative wires to the same battery to run to your application.