Audio recording issues with headphones

I have a macOS and when I wear headphones I cant record or redirect any of my audio into anything on my computer like discord, streaming, etc. ive been having this issue for a while and it sucks bc I can't stream properly or anything! anyone have any tips on how to fix this?