Hi and welcome to Tale Worlds.
First off, you need to have a positive relation with the faction to help them out in battle. The easiest way I can think of is to help farmers when they get ambushed by looters/ sea raiders/deserters. This will increase the factions relation with you by 1 or 2, then you can join in the fight with Ragnar.