Time to give up?

Do
I'm 40 years old. Dh and I have been trying for 2 years. Every time we make it AF shows up and takes our dreams away. I'm sick of this. I went through my first <a href="https://glowing.com/glow-fertility-program">IUI</a> in April, on our first anniversary. We had high hopes to be sharing great news on mother's day. Instead I'm home alone again. I'm so fed up and feel like neither man nor science can penetrate this old lady. I am alone in this and really want to know if it's time to give up or keep trying. I don't know what to do anymore.