After my period ended, I continued to have a bloody
Infection per se needs to be ruled out...
You haven't mentioned your age here.
The symptoms that you report - bleeding after sexual intercourse and the foul smelling discharge / bleed are concerning. Possibilities of genital infection and other cervical pathologies needs to be ruled out. I strongly recommend that you see a doctor at the earliest. A careful clinical and per speculum examination is necessary.
Until you see a doctor, it is important that you avoid any sexual activity. Drink plenty of fluids and continue to maintain personal hygiene.
Hope this helps. Let me know if you need clarifications.