The symptoms you describe are not symptoms associated with any STD. On the other hand,
loss of libido and ED can be due to a number
of physical causes as well as the psychological ones you describe (stress). Medications are a common cause of ED and sometimes loss of libido (most often indirectly by leading to depression). There are also physical origins to ED, some of which include diabetes, neurological an vascular problems.