Serious question. As I was once told that you need to hold off on having horrible things happening to your main character in order to establish the stakes of the setting and then when you've lulled the reader into a false sense of security. Then you hit them with the misery porn or the violence or the extreme gruesome content.
Is this always true? And if so whats the bare minimum I need to establish the main character before I begin having messed up stuff happening to them?
How you treat your main character depends on what kind of story you wish to tell. Do note that in general, people who read web novels are less fond of tragedy than typical readers.
Treating your main character cruelly early on has ups and downs:
1) People who start reading the story will get used to bad things happening and tamper their attachment to the character while knowing how the story is in general.
2) If you don't make it clear early on and have it happen mid story, it will have more impact, BUT, the impact can go 2 ways, some may feel the thrill, while others may feel betrayed and drop your story.
Generally, if you want to tamper your character but don't actually plan to write a tragedy, I suggest doing it early on.
As a side note: Do know that no reader will like a main character that the author themselves hates. If you are having your MC go through tragedy and are enjoying their suffering, then you wouldn't be able to portray that aspect very well and the quality will drop. Don't make a character suffer for the sake of suffering