It's been explained in detail but buried in various threads with unrelated titles, maybe we can do it one more time and ask the staff if they will make it a sticky.
First off, usually "bending" means "un-bending", or fixing a curve or hook installed as a feature of the barrel being manufactured. It's really, really tough to drill a hole through a 4' pipe without it wandering a bit, and the thinner the barrel the more difficult it is.
First you need to figure out if it's straight or not and if not, is the bend causing your POI difference. This will tell you if resoldering a sight, drifting, or filing will correct your issue or if indeed the barrel needs to be tweaked.
Once you establish that the barrel is bend (need to read the light rings in the barrel, either from a light dropped down to the breech or by unbreeching the barrel and holding it up to a light colored, even wall or clear sky away from the sun. You can determine the center or apex of the bend and where exactly it is on the circumference of the barrel. Mark it.
Next, make a jig. This can be as simple as three wood blocks and a big C-clamp on a sturdy workbench. It is best to make saddles in the wood blocks, you can do that by drilling holes in a block and splitting it in half through the hole with a band saw or whatever. Soft "whitewood" is great for this.
Then you support the barrel between blocks CENTERED as far away from the apex of the bend as possible, bend up, and use your screw clamp and another block of wood placed at the apex to bend the barrel in the opposite direction. It will take a lot of deflection to produce permanent deformation, but once it starts to take a set, it goes quickly so be very careful. Bend the barrel and measure accurately how far it bent at the opposite apex, then release the pressure and see if it returned to exactly where it was before or is beginning to straighten. Check the light rings again if you think it moved. Repeat the bend, measuring, and checking until it starts to straighten out, then go just a little, tiny bit more (like another 1/16" past where it last deflected) and flex it by hand a few times to relax the metal. Recheck.
Put the gun together and go shoot it until it's hot and observe the POI on a target.
Repeat this process if necessary for fine-tuning. If the barrel channel is warped you may want to address that with a cramp frame, moisture, and some heat, but most fowling pieces and smoothbores have very thin forearms that won't affect the barre much even if warped.
Some notable gunbuilders will be along shortly to tell you how they do it in no time using the crotch of their favorite tree out in front of the shop. They have done a LOT more barrels than I have!
I'll attach a photo from my phone of me straightening a modern barrel here in a minute.