Be ready to "do something" when you open the barrel.
If you are not prepared to fill it, what are you going to do?
Open the barrel and dump the contents into a pitcher.
Sample said contents, does it taste fine, or stale or funky?
If it tastes fine, fill up the barrel with your freshly fermented beer, using a racking cane or something so that you are filling it from the bottom, with minimal splashing, you will need more than 10 gallons, likely 11.5-12, so be prepared.
If not, you have a decision to make, is it that bad? Can it be fixed? If so, how? And what criteria you will use to decide if the problem is resolved.
If it needs to be "fixed", you could try to dump in some liquor, my suggestion is vodka since it is a neutral spirit, and it will change colors and you can get a feel for how much, "oakiness" might come out of the barrel. The alcohol, will help to minimize any funkiness, but no guarantees. Keep in mind, it's wood, and wood is porous, so you can never really kill any "bugs" if they are in there, but there shouldn't be.
If there are bugs, do you like sour beers? If so, you'll need to brew a suitable beer for your barrel, buy several packs of Roselare to add to the barrel, when you are moving the beer into the barrel. Consider buying several beers with "bugs" and adding the dregs in as well for some "bio-diversity" or hold off on the dregs until the first beer is pulled and you are adding the next beer.
If the barrel is good, my advice would be to put in the biggest beer that you can brew, such as a RIS, or an Old Ale, and most important, a beer that will be complemented by the barrel and not be distracted by the contribution from the barrel. Now the first beer will be ready to come out in less than six months and a beer that sits too long can get "over oaked", and the only real solution is to brew another beer of the same recipe and try to blend it out. When you pull the first beer, you need to be prepared to fill it with the next beer that day, preferably immediately. The second beer can be in there a couple of months longer, and you will need to be ready with the third.
Now with a barrel you are going to end up with a lot of barrel beers, so keep that in mind. If you have a brew buddy, you can split the work and proceeds, but your chance for infection gets doubled as well.
I have three ten gallon barrels. I usually want to start with a RIS, follow that with an Old Ale, followed by a Belgian Dark Strong/Quad. And evaluate each beer as it goes. The first two barrels eventually went sour, and I have no idea as to how it happened on both, although I got lucky that they went sour in a good way. I ended up with what turned out to be a couple of awesome Flanders Brown beers. I have since added various bugs to each of those two barrels and now use them in a Solara fashion. I'll brew another beer of the style in the barrel, pull five gallons into a keg and add five gallons of fresh beer.
The last barrel that I bought, I added several hop shots to the barrel and rolled the barrel around to distribute the hop oil around the inside of the barrel as much as I could. I boiled some water and let the syringes sit in the hot water for 5-10 minutes to soften up and liquefy the hop oil. I felt that this would help to "dry hop" the beer, adding additional hop flavor and since hops are a preservative, keep bugs at bay. I added a syringe to the barrel, when I added the Old Ale as well. Currently in the third barrel there is a BDS that was brewed before Christmas, and I plan to put another beer in in June/July when I am home. I plan to put in a Belgian Golden Strong for the fourth beer, and I'll let it ride for 9-12 months.
Hope this helps.