Place a drop cloth over the floor, against the base of the wall.
Hold a cold chisel at a 90-degree angle against the cracked mortar joint and strike it firmly with a hammer to break the mortar up.
Chisel out the mortar around the other sides of the brick with your cold chisel and hammer, and then pull the brick out of the wall.
Mix one part Portland cement with three parts fine sand in a bucket. Fill a jug with water and set it beside the bucket.
Attach a paint-stirring bit to a drill and mix the dry ingredients. Then add water and continue to mix the dry ingredients until they form a mudlike consistency.
Scoop some wet mortar out of the bucket with a trowel and spread it across the bottom of the hole in wall where you removed the brick. Then set the brick into the mortar and press down. Scrape away excess mortar with the trowel.
Fill the gaps in the sides and on top of the brick with more mortar and let dry for 24 hours. Repeat the process of removing other bricks, mixing more mortar and relaying the bricks as necessary until all the cracked mortar joints have been replaced.