Snakes can represent a few different things. Depending on your beliefs. With the snake being white and black it is relating to your relationship btwn good and evil. Snakes can represent sin, curses or temptations of ones flesh. Since you realized it was a snake, then you have become aware of what this snake is representing in your life. Perhaps you are now aware of how it can harm you spiritually.
Let me know if I can be of anymore help, and thank you!