If you're going to get them unfortunately there isn't much you can do, but you can do your best to not make it worse by not straining and eating well enough to prevent constipation.
If you keep getting blood then maybe visit the Dr just to double check what is causing it. Sometimes you can get a small tear which is not a haemmaroid so it may be reassuring to know there are no berries there