Your motherboard manual should tell you where and how these things need to be plugged in. If you don't have it, check the manufacturer's website for an online copy. It's somewhat different for every one so it's kind of hard to just straight up tell you.