If you take HIV medications correctly and maintain an undetectable viral load (meaning, the amount of HIV in your blood is so low that it can’t be detected with tests) for at least six months there is no risk of sexually transmitting the virus to an HIV-negative partner. This concept is called
U=U (Undetectable = Untransmittable). It is important that you continue to take the medications correctly, every day. Also being undetectable means that you can't transmit HIV, but you could still get get or pass on another STI (like gonorrhea, chlamydia or syphilis). Condoms are the best protection from getting most other STIs.