STD testing

I’m scared to get a std test I have been unsafe multiple times for the past two years almost three Ik Ik stupid I did have protection sometimes and other times I didn’t and I think it’s times to get a test even tho I haven’t had any symptoms I do want kids in a couple years and I don’t want this to effect me. I plan on going to the doctor soon Anyways does anyone have any advice?