Sensitive topic this isn't it?
Heheh
I had major issues with it for a long while - I was eating well with lots of fibre, drinking plenty, exercising regularly, sleeping enough, not straining when having a poo and doing all the things that should keep our 'friends of the bumhole' away...however at the time I was in a very stressful job. The GP prescribed Anusol and this tube of painkilling stuff which made no difference as really it wasn't related to constipation at all. In the end I had to have surgery to remove the piles as they got so painful and irritable. Not a pleasant experience.
Sadly, after a a bit of time off to recover from surgery I went back to work and within two weeks they had returned...no longer in the job and certainly no problems like that again. The odd case every now and then but never really an issue.
My tuppence worth if you're following the above at keeping yourself healthy, try and see if there is anything at all that triggers it ie stress or a type of food.
Good luck mate and if it becomes really troublesome go to your GP.