Ovulation pains & fertility

I'm a little out of practice on TTC.  My husband and I are trying now, and I can't remember when (in relation to the pains) I ovulate. Am I still fertile for any length of time after the pains start? They're pretty intense now, and I wasn't sure if we still had a chance if we went for it tonight. I started having pains late morning.