Taking losses is part of the business of trading from time to time, and the important thing is to keep them few and contained. Also, try to learn something.