Itching on penis glans and under foreskin is it std?

image

image

in December 2022 my penis glance started to itch with one red rash on penis glans then after few days there where small red pimple all over my penis glans and inner side of foreskin i should it to my doctor and he said its just viral infection and then. i was prescribed 2 cream mometasone furoste cream for 5 days once daily and sertaconazole nitrate cream for 6 weeks twice a day i completed the treatment but after few days itching started again and he suggested me to use mometasone one time whenever itching start. its over 6 months now itching wont go unless I use sertaconazole is it any std?