My microphone is recording any output I get through my headphones

I tried this on multiple daws and non-music related apps but basically this is my problem:
I am using a ST-M01 microphone with a ur22 mkII on windows 10

When I just test the microphone with no output through my headphones it produces a clear sound. But since I want to record vocals for music purposes I have the problem that when any sound comes through my output (my headphones) the microphone recieves it and directly adds it to the recording.

Not in the way You sometimes get some background noise that goes into your input if the output is really loud but like the microphone is recording the output EXACTLY like as if it was being used as a headset and just directly records the output

I tried reinstalling the Yamaha Steinberg USB Driver, aswell as an older version of the driver but nothing helps, I also tried using all the different USB ports on my PC to connect the device.

In a related issue (but one step at a time), when I do try to record on FL studio for example, with the Steinberg USB Asio driver, the input gets permanently stuck on the very first signal it recieves. So like it loops whatever first noise comes in gets permanently looped creating a buzzing loud sound.
(I imagine this is related because it basically creates input and output at the same time causing a loop)

Probably a loopback problem. Look for the direct setting on the interface and disable or something similar.