Help !!!!!

My period isn’t due until November 1st, but I took a test today and the lines are really dark. Has this happened to anyone else before ? I’m pretty sure I’m only like 3 weeks