Consequently is a word that has to do with cause and effect. If you failed math, you'll consequently have to take it again.
Sometimes, we don't know why things happen. Other times, we can see one thing leading to another. That's when you can use the word consequently. An employer could say, "We're losing money. Consequently, we have to fire you." The city might say, "It snowed three feet. Consequently, there's no school." If you know that a consequence is the effect or result of something, then that should help you remember how to use consequently.