This depends on the problem, the length of the operation, and whether or not general anesthetic was used.
In particular, if underlying pneumonia is suggested, then treatment of the pneumonia may cause the atrial fibrillation to terminate on its own.
The exact placement of the pads does not appear to be important.