read your 1099B from broker carefully. you need to report cost and proceeds for each sale even w/ capital loss. that way you have loss that can be carried over to future years. I doubt you did that for 2010, 2009...
file 1040X, 加上schedule D with form 8949. see instruction below.
good luck!