In case your computer has multiple microphones, possible are internal laptop mic, webcam mic, headset mic, external "real" mic, make sure you configure in OBS the mic device you intend to record. As default the "default" device is given in Settings->Audio. In this setting, explicitly choose the mic device you want, and not "default".