Hey there!
So to dynamax, first of all you need to get dynamax band (on colored servers you can buy it in shop at /warp battletower, on rivals server you can get it from /raidshop)
Then you need to equip the band (open inventory, click the arrow at left side, next to your pokemons, then choose...