You would not die of HPV or Herpes. You are not dealing with STDs, you are dealing with fear of what is not known. So find out.
You say you are scared that you might find out that you have an STD. At this moment, IF you have an STD, you also have anxiety.
Testing will show that you A: Have an STD, in which case you will get it treated and/or cured.Or B: You don't have an STD in which case you you are free of both STDs AND fear/anxiety.
There are very few STDs that are fatal and most of them are only fatal if you do not treat them. Bacterial STDs are treatable and curable. Viral ones are treatable- some like HPV, especially in men, are more of a nuisance than a threat and a healthy immune system will suppress the virus in under 2 years. HIV of course is the big scary one for most people. In any case, if you have an STD you can get treatment. It is immoral to say the least, and unwise to have sex with anyone in the future if you do not protect your own health and theirs.
Get tested and then you know.Not knowing does not make you un-infected but finding out you are not infected is priceless! I suspect the odds are much in your favour at this point.