Could not get an erection on 3rd night of intimacy.

I am a 32 years old male.I recently got married , roughly a year ago.I have had sex with my wife several times in a week.But not consistently (like 2 or 3 days in a row straight).

My wife and i have decided to have a baby,so i was told to have sex for 10 days straight after the end of my wife's menstrual cycle.

So,i started having sex.For 1st 2 nights,everything was fine.However last night (i.e the 3rd night),i could not get my penis to be erected.

I am really devastated and wondering if this has something to do with the frequency of doing sex. Because i  do fine with having sex after a 2 or 3 days break.

What shall i do.

What you need to do is just relax.  Stress Is not going to help you with your erection.  Try every other day just relax and let it happen.  Good luck  Ken