can std cause erictle dysfunction

i had ed in small age

18 or 17 years old

i went to doctor

he checked my testosterone level it was perfect

he asked me if i had sex i said no (i lied)

he said are you sure you hadn't ?

why he asked this

could my erictle dysfunction came from std?

what std cause ed? and last for years

i also have palpitations and fatigue

could it be by std ?

I've never heard of STIs causing ED, and though you haven't told us much, it seems unlikely you have an STI anyway.  It's very unusual to have ED at that age though.

How old are you now, and how is your general health - are you taking any medications for anything?

hello

thank you for replying

i ha the ed 3 years agp when i was 18 and i was very healthy

workout 5 days a week my body was very fit and i had six pack and mucles

now my health is very bad i feel fatigue quickly

my heart beats very hard with little exerction

i did ecg,heart ultrasound it was fine

i did stress test my rate reached 186 bpm (the max is 180 in my hospital i dont know why it isnt 200 )

and no chest pain or any thing

recently i discoverd that i have little low free t4 hormone

but normal total t4 and normal tsh

iam going to see a thyroid doctor to investigate this

I'd talk to a thyroid doctor (endocinologist) too if I were you.  You might as well get tested for STIs too, but that's only for your peace of mind - I'd be surprised if you have one.