Remove the loose block by chipping out the old mortar joint with a cold chisel and a hammer. Pull the block out of the space and set nearby on the floor.
Even out the emptied space on the block wall using the cold chisel and hammer.
Fill a gallon jug with water and pour premixed mortar in a bucket. Pour water onto the mortar in small increments and mix with a paddle mixer, until the mortar is like pancake batter.
Scoop some of the wet mortar out of the bucket with a trowel and spread over the bottom of the empty space on the block wall.
Set the block into the mortar, then fill the gaps around the block with more mortar using the trowel. Scrape away excess mortar, throw it back into the bucket and mix it back into the wet mortar.
Repeat the process of chipping out other loose blocks, then refitting each block back into the empty space and fill the gaps with mortar. Wait 24 hours for the mortar to harden once the repairs have been made.