Constipated

I Eat salads almost everyday and drink coffee everyday. And I'm constipated. I only go several times a week (like 2, 3). What can I do?