Bleeding during stool while pregnant

I am 24 weeks pregnant with my 2nd baby. 4 days ago I had a lot of bright blood in the toilet during my stools all day (maybe 2 or 3 times that day) and then nothing again until today, the 2 times I passed stool today I saw a reasonable amount of bright blood. I'm assuming it's a hemmorhoid because my stools have been a little painful when pushing and hard coming out. When do I get worried? Can a hemmorhoid bleed on and off? I'm queen of self diagnosing lol but during pregnancy it's a little nerveracking whenever you see blood in the toilet.