So I am working on a problem, in that I need to integrate $\int_0^1 e^{-x^2}dx$.
So I did it in this way:
$$\int_0^1 e^{-x^2} dx=\int_0^1 \sum_{n=0}^\infty \frac{(-x^2)^{n}}{n!} = \sum_{n=0}^\infty \int_0^1 \frac{(-x^{2})^n}{n!} = \sum_{n=0}^\infty \frac{(-1)^{2n+1}}{(2n+1)n!}.$$
And then I need to calculate the $\sum_{n=0}^3 \frac{(-1)^{2n+1}}{(2n+1)n!}$ and it has to be equal to $1 - 1/3+1/10-1/42 = \frac{26}{35}$ ( this is the answer to the Problem !! )
Now to my Problem: I need to have $\sum_{n=0}^3 \frac{(-1)^{n}}{(2n+1)n!}$ such that I get my desired result.
I will be very happy, if you could tell me what i did wrong and how to get the result I want.

Your solution is confusing and incorrect due to no use of brackets. Here's my solution.
We start by applying the power series expansion of $e^{-x^2}$.
$$\begin{align} \int_0^1 e^{-x^2}\, \mathrm dx &= \int_0^1 \left(\sum_{k=0}^{\infty}\dfrac{(-x^2)^k}{k!}\right)\, \mathrm dx \\ &= \sum_{k=0}^{\infty}\frac{(-1)^k}{k!}\int_0^1 x^{2k}\, \mathrm dx \\ &= \sum_{k=0}^{\infty}\dfrac{(-1)^k}{k!(2k+1)}\end{align}$$
Now, you can truncate the series till whatever value you want.