Hittest problem

how do you make it that if this happens or if this happens this happens

example
[color=navy]if(this.hitTest(blahblah)[/color] [color=darkred]"’[/color]***[color=darkred]OR’"[/color] ***[color=navy]this.hitTest(blohbloh))([/color]
gotoAndPlay(5);
}