Genesis 25:21 And Isaac intreated the LORD for his wife, because she was barren: and the LORD was intreated of him, and Rebekah his wife conceived.
So often God’s people want children and are unable to have them. We can seek medical help for sure and may need to do so! But before we do that I challenge you like Isaac to ask God to give you a child.
I have not personally had to deal with this very difficult problem. I have seen how hard it is on my own children though! I know this. We need to be asking God. He may have a perfect plan that you are not understanding yet. He maybe going to give you children after He does something else very special.
I know that in our family God gave us two very special children through adoption. Our lives would not be whole without them. It was hard to understand for so long but now seems very obvious what God was doing.
Trust God. He is at work in your life!