Infertility test?

Is there any way to know if I’m infertile without trying to conceive? Like deep down I have a hunch that I’m infertile and here I am using birth control just in case and messing with my hormones and being cranky. However I can’t find anything online other than fertility treatments.