Welcome to Just Answer !
Well, i have been able to understand about your situation to some extent , but it will be better , if you can divulge a bit more on your fear , can you please tell me is it the fear of cantacting an STD , that is bearing on your mind , and has mentally incapacitated you , well if that is the case then this is quite natural to happen , and you should wait for the test results , everything is going to be clear from there on, and please do not jump to conlusions and refrain yourself from reading in between the lines.
What you did is quite common , and most of us get ourselves in such situations , where our mind is so full of anxiety and apprehension, that it stops working with reasoning and logic , but , do not take tension, everything will be alright , just be patient and wait for the results .
If your anxiety is too overwhelming , and i suppose it is , then you shall start on Klonopin (clonazepam), to be taken twice a day , morning and evening after meals , this will surely take care of your anxiety about the whole situation, and bring some tranquility and calmness , meanwhile you can wait for your test results and i believe everything will be alright.Just discuss the dose of klonopin with your family doctor.
I wish you best of health and best of luck for your test results.
I hope my answer serves your query according to your satisfaction.