Her Puja (worship) ritual infuses Her protecting blessings with the subtle bodies of somebody thus creating a constructive & protecting aura of energies which are Divine and ensure it is difficult for destructive energies to permeate. You'll find several purposes of mantras depending upon the religious faculty involved, and intention https://marcoijlmn.blogdigy.com/detailed-notes-on-shabar-mantra-53829228