If the outside is dark and cooked or burnt and the inside is raw, this usually means that your oven may be too hot. Using an oven thermometer will help regulate this.