Birth control

I’m wanting to start going on birth control in the past I have had two miscarriages from accidental pregnancies, would taking birth control make it even more harder to get pregnant when I’m older?