Scared to get tested...

So I’ve slept with two people, both unprotected. First person I slept with was in 2016, second person was January 2020. So it’s been over a year since I’ve had sex, but lately I’ve been kinda paranoid that I got something that may be lying dormant or something. I want to set up an appointment but Everytime I go to do it, I get terrified and I don’t do it. I don’t know what I would do if I found out I had HIV or something, I feel like I would just give up on everything. It’s not something I can really talk about with anyone so I thought I would post it here, if anyone had any advice or suggestions on how to get over this.