Apostrophe changing itself

In text, when I type apostrophe, it is changing to X surrounded by a box. Any solutions? The font doesn't make a difference. I have to go into glyphs and manually insert the apostrophe.

Thank you!