Taking a bike on French trains

How to navigate the French rail network with a bike