as i mentioned earlier, dense bread is often down to not enough gas being produced. so the most obvious fix is to allow plenty of time for the bread to rise. you could just need to proof your loaf of bread for longer. to test if bread is ready for the oven, the poke test can be used.