Ask yourself why you only got an E and whether you can improve, want to or need to.
Isnt there another subject you can do?
Talk to your maths teacher.
Your choice whether you carru on, but if it were me I would take soemthing else, unless I really needed maths, in which case I would retake AS.
You could do A2 privately if you have the money, but next year is the final chance for legacy resits.