To identify the correct header, look for the labeling on the motherboard; they are always labeled next to the header with the intended connection, for example:
Cable headers on motherboards vary in their location depending on what motherboard you have. To identify the correct header, look for the labeling on the motherboard; they are always labeled next to the header with the intended connection, for example: