I understand that you had an operation for piles 5 years ago and since then have had erratic bowel actions with mucus. You also say that your colonoscopy was entirely normal. This means that you are probably suffering from the irritable bowel syndrome. In this condition there is no inflammation or infection - in fact - nothing is actually wrong pathologically. However people often have to rush to the toilet and pass motions that can be loose or hard or pellet-like with mucus. They feel bloated and pass a lot of wind - both from the mouth and also from the rectum. Anxiety can often make these symptoms worse and it appears that you have been very anxious and worried and have lost confidence in yourself. I think you need to be more positive about yourself and try and get on with life. Remember there are other people worse than you! You could ask your doctor for some tablets to control your diarrhoea. Wind is very difficult to treat as it is mainly wind that you have swallowed - and if you are anxious then you swallow more wind unconsciously.