Not sure if erectile dysfunction or something else

Hi I am 27 year old male. Earlier I used to have premature ejaculation like while performing oral i used to cum. Thats almost gone now .. but now i cant stay hard while penetration.
Its embarrassing. Earlier i didnt enjoy sex as i used to cum early and now i am not again as i am not 100% hard.

I do get morning wood. I am 5 ft 8 inch in height and 160 weight. (So not overweight or anything). I do gym or running 3-4 days a week. I do mastribate like 3-5 times a week.

Please guide. I dont wanna go for viagra as of now.. anthing else i can try for energy to saty hard?

Have you had your testosterone checked?

no, i havent.. as its later in age normally. i will check that. is there any energy booster u recommend till then?