Ensure the potatoes are cooked through and use a potato masher or ricer for smoother consistency. Gradually incorporating the butter mixture also helps avoid lumps.