If you hate your job then for sure you have to change things as soon as possible but with the right steps. First don’t panic and don’t do something that is going to be negative on your situation.
Start building a plan of what could it be the best solution for your situation. You want to think what would be your best desirable destination.