Almost 40 and trying for our first

Okay so it’s not MY first pregnancy, or his but it’s OUR first! We decided after being together a year we aren’t getting any younger and if we wanted to try for a little baby of our own it’d before I turned the big 40... we have been trying since last July. I miscarried just recently at around 8 weeks I believe. It was a shock to the both of us. I have had four other babies in my past. I have had one full cycle and we have continued trying as soon as I felt comfortable to. Going by dates and considering I will be 40 next May I think my time is just about up. Any advice on our last window of opportunity?

Feeling sad.