not a big fan of cut and paste from Google but they do answer some of your questions
presume we’re still talking equities, so 24k for a couple, any shares you hold less than you paid you could offset gains if above the CGT limit by selling this financial year and crystallising the loss, caveat...