It is sometimes caused by medication but usually by other factors. Untreated depression can make it difficult to take your anti-HIV drugs properly and thus put the continued success of your therapy at risk. There are treatments for depression even if it is caused by your anti-HIV medication. If you feel depressed talk to your doctor. It is important to talk to your doctor to identify the cause of the diarrhoea.
Simple measures involve fluid and fibre replacement.
Readily available drugs like Imodium and Codeine can help control diarrhoea without having to stop the anti-HIV medication. Diarrhoea caused by anti-HIV drugs often goes away with time, however, even short periods can be debilitating and prolonged periods of diarrhoea should be discussed with your doctor. Problems of diarrhoea are mainly associated with protease inhibitors. So combinations of ddI with other diarrhoea-causing drugs like ritonavir and nelfinavir may make it worse. Can sometimes occur at the beginning of anti-HIV therapy but usually goes away within a couple of weeks.