Thanks for posting your query.
The disease process is a stress
, that can affect the menses and the medicines can also affect the menstrual cycle length.
The bleeding seems to be preponed periods, you should continue the treatment.
If you remember the dates correctly then the day of intercourse falls in safe period and you do not need take any emergency contraception
I hope this answers your query.
In case you have any follow up queries or doubts, you can forward them for me, and I shall be glad to help you.
Please accept my answer in case you do not have further queries.
Wishing you good health.