Answer:
The sentence it will introduce will be contrasting to the sentence(s) before that.
Step-by-step explanation:
E.g. I woke up late. However, I got to school on time.
["However" here contrasted the idea that "I" might be late for school since "I" woke up late]