To dream of your brain suggests that you are under severe intellectual stress. You need to put your problem-solving abilities to use. Alternatively, it implies that your ideas are not receiving enough attention and validation. You are concerned that your knowledge and teachings are not be transmitted clearly.
To dream that you are undergoing brain surgery indicates that you need to rethink some important issue. You need to change your way of thinking and put aside any misconceived notions you have.