One interesting plotline could be Harry going back in time and preventing certain tragedies from happening in the wizarding world. For example, he might stop the death of his parents. Another could be him using his future knowledge to change the way Hogwarts is run, like improving the curriculum for Defense Against the Dark Arts.
Luna Lovegood is also a popular character to be paired with Harry in these fanfictions. Her unique perspective and Harry's new - found knowledge from going back in time could lead to some really interesting adventures. They could discover new magical creatures or secrets about the wizarding world.
Hermione is another common character. Since she is always so intelligent and resourceful, Harry might turn to her for help in understanding the implications of time travel. They could work together to change certain events, like preventing the release of some dark magic that they later had to face. And of course, Ron would also be around. His loyalty and friendship would be a source of support for Harry as he navigates this new timeline.
In fanfiction, if Harry goes back in time to the god, he might gain some extraordinary powers. Maybe the god would bestow upon him the ability to control magic in ways he never could before. It could also lead to him changing the course of history, for better or worse.
The main antagonist could be the Devil himself. He might see Harry as an intruder in his domain and try to keep him there forever. He could set up all kinds of traps and challenges for Harry to overcome.
Well, in some fanfictions, Harry goes back in time to fix his relationships. He might go back to be a better friend to Ron and Hermione from the start. Also, he could use his knowledge of future magical items to gain an edge. Like, he could get his hands on some powerful spells or artifacts before Voldemort does. And sometimes, he goes back to change the Hogwarts curriculum, making it more practical and useful for the coming battles.
One possible plot could be that Harry is sent to Hell due to a powerful dark magic spell gone wrong. In Hell, he has to face his worst fears and demons, both literal and metaphorical. He might encounter lost souls who tell him secrets about the magical world. Eventually, he manages to find a way back, using his wits and some unexpected magical abilities he discovers during his ordeal.
In some fanfictions, Harry goes back in time and decides to train himself better. He could seek out different magical knowledge or combat skills that he didn't have the first time around, which then changes his future interactions and battles. For example, he might learn ancient spells that give him an edge against Voldemort.
One great fanfiction with this plot is 'Time's Redemption'. In it, Harry uses a powerful time - turning spell he discovers in an ancient book. He has to face many challenges in the past, like avoiding detection from the Ministry's time - turner regulations. Another good one is 'Back to Save Sirius'. Here, Harry teams up with Hermione and they use a secret time - travel device left by Dumbledore.
One possible plot could be that Harry uses some powerful time - turning magic to go back in time. He then has to hide his true identity from his younger self while trying to guide and raise himself. Maybe he teaches his younger self some advanced magic that he didn't learn until later in his original life, like more complex Patronus charms or advanced defensive spells.