Understanding BBT?

When you approach your period what happens to bbt? What if your pregnant then what happens to bbt?