how do you keep your yaqeen

Nb

I know when you pray you are suppose to have this confidence or yaqeen that Allah will answer it one of three ways. how do you keep that going after years of praying for a child? I continue to pray of course but I am loosing that yaqeen in my heart 😞