Definition of remedy

What does the word remedy mean?