anti inflammatory ointment for cramps?

S

hey is it safe to put anti inflammatory ointment on your stomach during to ease period cramps? i used it yesterday, not saying its 100% effective but it eased the pain a bit. i just don't know if its safe to put on?,