PrEP is a daily pill that prevents HIV by more than 99% (). You also don't mention if you are taking PrEP to prevent HIV.
Even if they are undetectable for less than six months, their chances of passing on HIV to their partners are significantly decreased. If someone is HIV+, but undetectable for six months or longer, they cannot transmit their virus to others ().