The problem regarding effect of medicine on pregnancy starts when you are
pregnant.
In your case it is not even ovulation stage. It is before ovulation. If you become pregnant, and if that pregnancy implants itself in the uterus, and if the circulation in placenta starts , then comes the stage of harmful and harmless medicines.
It is too early to get worried. Please look after your own health at this stage.