They both mean the same, except alter is usually used when there's only a slight change. "Change" can be anything from minor to major.
Eg. The teacher added comments for the student to alter his essay slightly, as the grammar was wrong.
He altered his appearance by changing into more formal clothing.
She had a change in heart, and no longer wanted to study.
I want to change my habits, so I've been setting goals.