Thanks for the query.
According to your history, as you took the emergency pill, 3 to 4 days after the first intercourse, the possibility of pregnancy
can not be ruled out.
Because the pill can give protection when taken within 72 hours of the act.
So the bleeding you are having could be:
-Withdrawal bleeding due to emergency pill
The possibility of pelvic infection
can not also be ruled out as the intercourse was unprotected second time.
So you once consult gynecologist, get examined.
If there is no local vaginal discharge
, the possibility of infection is less.
You can continue treatment for urinary tract infection
Go for ultrasound
with your doctor's advice. If there are no signs of pregnancy, your bleeding will subside soon possibly.