I have an issue recording audio

I have an inbuilt audio card, and I can’t record audio. When I plug in my earpiece, pavucontrol picks up that there’s a microphone in the input devices, and the small blue bar moves around a bit, but it’s all static (I yell into the mike and the blue noise indicator doesn’t move significantly).

The earpiece works on my phone and my other computer, so it can’t be that.

What can I be doing wrong?