Having HIV can be a source of major stress. HIV may challenge your sense of well-being or complicate existing mental health conditions. HIV, and some opportunistic infections, can also affect your nervous system and can lead to changes in your behavior. Good mental health will help you live your life to the fullest and is essential to successfully treating HIV.