Hello Jazmine and thanks for the query
The possibility of being pregnant is very less because you have undergone intercourse during safe period. The ovulation occur between 14-18 days of bleeding and fertilization or pregnancy
occur during this period. In broad 10 days before and after bleeding are safe period and chance of pregnancy are very less unless you have some abnormality like anatomical abnormality of harmonal changes.
Also you have taken medication and have spotting after that so the chances again reduces to very very less. To confirm you can go for pregnancy test or consult your doctor.