Yes. The first day of the 5-day minimum is the day on which you became
niddah, even if you had relations the night before. In fact, the minimum wait was specifically designed to cover a situation where bleeding begins on the same day that intercourse took place. Please see our article on the
Minimum Wait for more details.