when to get tested?

I've been wondering if anyone on here knows or has hiv and how did they find out? Did you have symptoms? What made you get tested? How often should someone get tested? I literally know nothing about std testing and want to be profecient before I become sexually active.