Many people have both depression and anxiety. They're different conditions, but they have some overlapping symptoms, like nervousness, irritability, problems sleeping, and a hard time concentrating. Your doctor can tell you if you have anxiety, depression, or both.