PC's tend to separate microphones and headphones. I am assuming you are using headphones with a single cable/jack. In which case, a cheap microphone headphone splitter will fix the issue. Just make sure it's single female to double male. And not a cable to connect 2 headphones to one jack, they look the same.
You need this or a similar adapter.
https://www.amazon.com/Headphone-Splitter-Computer-Smartphone-Headset/dp/B01MQZ2023