In France, gains on crypto are taxed as capital gains on securities, so you need to declare them as taxable income on your income tax return. Losses can theoretically offset gains, but it really depends on your situation and how you traded - it's not as straightforward as with regular stocks.
I'd suggest listing all your trades with purchase dates, purchase prices, sale dates and sale prices, then contacting an accountant or the tax authority directly, because the rules have changed quite a bit in recent years and it's easy to mess up. If you have a lot of transactions, it's honestly not something you should leave to chance.