Murgatroid's answer is spot on from a legality point of view. This began as a comment but quickly grew to that answer. The simple answer is that you can do it before or after the aura resolves to keep your creature aggressive, but there are consequences in both directions.
The most common consequence to tapping before it resolves means you can't use that tap ability for something else. It is a common tactic to use your second most effective spell first in an attempt to bait out your opponents countermeasures. Since Pacifism is only relevant during the combat phase, it makes little sense to respond during the first main phase.
You don't know what tricks your opponent might have later in the turn, so you could keep that in your pocket until you need it. For example, after your opponent has declared attackers, you get priority and use your protection to shrug it off and declare your previously-pacified blocker. But if your opponent has another trick up their sleeve, you might want to save that protection ability until you actually needed it. Using it early means you can't use it somewhere else.
Of course, delaying and allowing it to enter the battlefield does have other consequences, although they're usually tactical edge cases, not strategic guidelines. Some cards, like Sage's Reverie care about how many Auras you control. Others like Ajani's Chosen are about Enchantments entering the battlefield. If you allow the Pacify to resolve while your opponent controls a Ajani's Chosen, they will get a 2/2 Cat Token even if you immediately remove the aura post-resolution.
So in general, it is a good idea to allow it to resolve and shrug it off only when you need to, like right before you declare blockers, or on the end step if you haven't found a better use for the protection ability. There are cases, however, where it is tactical to shrug it off in response and never allow it to enter.