Spiderman could use his wits. He might find a weakness in Doc Oc's lair or in the technology that Doc Oc uses to keep him trapped. For example, if Doc Oc uses some sort of energy - based restraints, Spiderman could try to short - circuit them using his own web shooters which can conduct electricity in some fanfictions.
Well, in this kind of fanfiction, Doc Oc could kidnap Spiderman to force him to reveal his identity. Doc Oc might think that knowing who Spiderman really is would give him an upper hand in their ongoing battles. It could also be that Doc Oc wants to study Spiderman's powers. He's a scientist after all, and Spiderman's abilities are quite unique. He might believe that by kidnapping and examining Spiderman, he can find a way to replicate or counter those powers.
Well, in some versions he might use his webs to create a distraction and then slip away while Doc Ock is focused on that. Maybe he'll find a weak point in Doc Ock's mechanical arms and disable them to make his escape.
One possible scenario in this fanfiction could be that Loki disguises himself and lures Spiderman into a trap. He then transports him to a different realm where Spiderman is completely out of his element. Spiderman would have to rely on his wits and basic powers to try and escape Loki's clutches.
Spiderman would probably be really confused at first. I mean, Deadpool is not your typical villain. He'd likely try to talk Deadpool out of whatever crazy plan he has. He'd be using his quick wit and trying to reason with Deadpool, saying things like 'This is not the right way to do things, Deadpool.'
If Loki kidnaps Spiderman in fanfiction, it would be a very interesting plot. Loki is a powerful and cunning character, while Spiderman is a beloved hero. Loki might underestimate Spiderman's resourcefulness though. Spiderman could use his spider - sense to find weaknesses in Loki's plans.
Another possibility is that Deadpool kidnaps Spiderman because he's bored. He sees Spiderman as this straight - laced hero and figures that by kidnapping him, he can mess with Spiderman's life a bit. He could take Spiderman to some really strange places, like a dimension full of dancing hot dogs (because it's Deadpool, anything is possible) and Spiderman has to find a way to escape while also dealing with Deadpool's crazy antics.
The hunter could be Kraven the Hunter. He is known for his obsession with hunting the most dangerous prey, and in this case, he might see a Spiderman fan as an interesting target. Maybe he thinks the fan has some connection to Spiderman that he can exploit.
The OC could be a mysterious ninja from a far - off land. Sasuke might think this ninja has some secret knowledge about the Uchiha clan that he wants, so he kidnaps them.
Perhaps Doc Ock wants to use Spiderman as a bargaining chip. There could be another villain or a powerful organization that Doc Ock is dealing with, and he thinks that by having Spiderman in his custody, he can negotiate better terms for himself. For example, he could demand a large sum of money, advanced technology, or even the release of other villains in exchange for Spiderman.