Retirement tax questions

Thanks! I read something here about I need to calculate the gains/loss. I've actually lost the money bc the stock market but how do I calculate that? I read I need to tell my bank how much including the gains and loss to recharacterize.