Bleeding after sex

Why was I bleeding after sex? The next morning I woke up with blood in my underwear I’m not supposed to get my period yet either.