"事先“ it means a period of time before the thing you do. Thing uaually say something you have done or something has happened. In many cases, we do not use it in the future tense.
“提前” it means something you do or something happened before the time you schedule.
In Chinese, we usually say" 事先你就应该把它做好." and " 这件事你应该提前做."