These two words are pronounced the same but have very different meanings:
Altar is the holy table in a church: you can remember it by thinking that marriage has ar in it also.
Alter means to change something.
Some useful hints about correct English and tips on literary analysis by Barbara Daniels (Doc Barbara) an ex-teacher with an Oxford M.A. in English Language and Literature and a London Ph. D