Paying Taxes

Hi,

if i make a gain from selling stocks the only tax I need to pay is the long and short capital gain bracket? Because my income taxes from my job is federal, state, Medicare, social security, etc. so if I gain from a stock selling all I need to pay is the capital gain? Also if I loose profit how does it work will I get more tax return or ???