There are so many considerations when writing historical fiction or fiction in general. One decision the author has to make is what the character’s internal dialogue will be.
The internal dialogue is expressed by the thoughts that are interjected in the narrative. How does the character see the world? Is it in shades of gray whereby the protagonist sees and entertains different views of life, divergent possibilities? Is the character one that believes what is right is right and what is wrong is wrong, no ifs, ands or buts?
The setting of the narrative is very tied to the possible thoughts the character has. In medieval times, things were cut and dry. If your character is going to fight against customs you have to remember that the character must keep in mind the retaliation by the authorities he/she could face. Author has to be mindful also of reason for the characters’ rebellion and devote time to developing keeping the readers clear on this score.
Writing is an exciting jigsaw puzzle but tests you at every turn. I can tell you, it’s worth it.