Oven/Stove or Wiring causing breaker to trip
If turning on the oven/stove breaker immediately causes the main breaker to trip (without even turning on the oven/stove) something is blatantly miswired.
What or where is impossible to determine without more detail that you are unable to provide at present.