Effectiveness of morning after pill while ovulating?

Will the morning after pill work if you have already ovulated or think you are currently ovulating? I had sex on the morning of the 22nd and I am supposed to ovulate on the 25th. HOWEVER my period is not regular and I am feeling slight pains coming from my left ovary right now which leads me to think I may be ovulating earlier than expected. I have not taken the pill yet and cannot get it until tomorrow morning! Does any body know if the pill will still work?