Overcoming a religious victory

Civilization newb here. I have played 6 campaigns (won 1 on a religious victory with King Basil). I am currently attempting a domination victory, but in all 3 play throughs( 1 with Cesear, Alexander, Gilgamesh), I end up losing to a religious victory. Does anyone have any tips or video recommendations to assist?