In many fanfictions, Ron's loyalty and love for Hermione play a big role. His determination to save her gives him an extra boost of courage. He might directly confront Draco, using his Gryffindor bravado. He could use a disarming spell to take Draco's wand and then quickly grab Hermione and run off to a safe place within the castle.
Well, in some versions, Ron might use his quick wit and knowledge of Hogwarts' secret passages to outmaneuver Draco. He could lead Hermione to safety through a passage that Draco doesn't know about.
Ron could also use his magic skills. Maybe he casts a powerful shield charm to protect Hermione from Draco's spells. He has been shown to be quite capable in combat magic, especially when it comes to protecting his friends. He might also summon some magical creatures to distract Draco while he gets Hermione away.
Well, it could be that Lucius uses his powerful influence in the wizarding world. Maybe he intimidates Ron with threats related to his family's status or he uses some dark magic to create a distraction and whisk Hermione away.
Well, it could be that Snape has been secretly observing Ron's erratic behavior towards Hermione. When the situation gets out of hand, he intervenes. He might use his position as a teacher to discipline Ron and in the process, saves Hermione. Snape is a complex character with a lot of power and knowledge, so he could use various means like his occlumency skills to sense the danger Hermione is in and act accordingly.
Another way is that Ron could call upon the help of his friends or allies. He might send a Patronus to summon other Gryffindors or even some Hogwarts professors. Together, they overpower Viktor and rescue Hermione. Ron's leadership skills and ability to rally support could be crucial in this situation.
Well, perhaps Snape uses his position as a teacher to step in. He could have been observing the situation secretly and when Draco was about to do something harmful to Hermione, Snape intervened with a firm command or some magic spell to stop Draco in his tracks.
Over time, if the fanfiction progresses, Hermione could become a sort of bridge between Ron and Draco. She might encourage them to get along, now that Draco has shown that he can be on Hermione's side. Draco might also start to see Ron in a different way, realizing that Ron's jealousy or rudeness towards Hermione was born out of his own insecurities. This could potentially lead to a more complex and interesting dynamic between the three of them.
Maybe Harry uses his magic skills to immobilize Ron. He could cast a spell like 'Petrificus Totalus' on Ron right when he's about to attack Hermione, thus stopping the beating.
Draco might be motivated by jealousy. He could be jealous of Ron and Hermione's friendship or a possible romantic relationship between them. So he tries to harm Hermione out of spite.
Charlie might be a character who has known Hermione for a long time, maybe through some other connections in the wizarding world. He sees Hermione as someone in need of protection from Ron, whether Ron is acting out of his own accord or is being influenced by external forces. In relation to Ron, he is the one who stands against Ron's actions towards Hermione.
Well, it definitely makes things more complicated. Ron would probably be very confused and angry at first. He might see Draco's actions as a form of interference or even an insult. He may think Draco has some ulterior motives towards Hermione.
Another way Severus could save Hermione is by using his knowledge of the Dark Arts in a positive way. If she was hurt by a Dark spell from Ron (in the context of the fanfic), Severus might be able to counteract the spell's effects. He has extensive experience with Dark Arts spells, so he could figure out what spell Ron used and then use a counter - spell to reverse the damage.