Thanks for query,
First of all you should understand that in anxiety
state no one gets sexual thoughts.
Sex has direct relation with parasympathetic nervous system
.When you have anxiety or tension your sympathetic nervous system stimulated & you do net get sexual response originally.
Leave all worries.You have no disease & you are as OK as before.Nothing lost from you.
You will then watch porn movies or read porn books will arouse your parasympathetic nervous system & you get arousal & erection.