iui question

I had a question does your doctor prefer to do an IuI before you ovulate or after you ovulate obviously within the same day but do they aim to have the sperm waiting for the egg or the egg waiting for the sperm ? Asking because I trigged Thursday and had my IuI today but I hadn’t ovulated yet so trying to see what others experiences are . After she did my IuI she did an ultrasound and said they hadn’t ruptured yet.