It is best to get checked regularly for HIV and other sexually transmitted diseases (STDs) if you have unprotected sex, if you inject drugs intravenously, or if you are a homosexual man.