It helps to know a little more about what machine you are working on and need help with.
Crystal ball is in the shop and my telepathic powers are failing me. LOL
Here is a generic approach that may work without having to remove the engine, just loosen it....
Loosen the engine bolts enough to get a large screwdriver or prybar in to apply pressure (force) down on the top of the bolt head dome, so the nut can be removed and pulley changed.