Using the proper mic, and setting the attenuation is the most important factor.
Using a proper kick drum mic, such as Audix D6, AKG D112, or a Shure Beta 91 is a good first step.
You need to make sure the mixer channel is set properly so that the signal is not being overloaded.
Many mixers have presets that will add an EQ curve to make the sound tight and solid.
