Is it permissible to wear quranic ayat on body for protection or other reasons? Shall it be removed if one is in menses or janabah state?

If it is covered then it is fine and while someone in the state of najasat it should be removed