Have you consulted a doctor or just thinking - i do not like it. I will help myself with a diet first.. I don't want to take any pills?!
Diet can support both medical conditions but please do not think you will sort everything with just changing a diet. It is a great support so do not mess it up. Both conditions can lead to serious issues.