Hi, I've used the nitro ointment and nifedipine ointment for an anal fissure, the nitro gives you an instant headache. They both help to relax the sphincter muscle but for me that relaxation didn't last very long. Anal spasms can be very painful and last a long time. Sitz baths help some and when things got really bad I'd take ibuprophen and valium (prescribed by my doctor) and sometimes that would help. The whole point is to get the muscle to relax, once I was able to get it relaxed I was usually better for the rest of the day unless I had to have a bm. My spasms usually happened after a bm, when do your's happen? Have you had any surgery on your hemorrhoids? Hope the ointment works for you and your muscle stops going into spasms.