Look at schedule D and form 8949.
IRS site has some free software tax programs. Maybe the interview section will take you through the steeps.
Turbotax will solve your problem
If you have any capital gains the loss will reduce the gains. If none you can deduct 3000 a year from your income.
Look at
Site Index Search | Internal Revenue Service