when you change up a workout or strain tremendously it can flare up your hemmorhoids.. also eating more food will cause you to strain more cause you are shitting more.. usually this takes a few weeks to subside.. you can use a sitz bath daily along with cream
if they get really bad you should do a 3-4 day water fast so you slow down your bowel movements to give the anus a chance to relax.