IEPs and 504s

What is the difference between an IEP and a 504 Plan?