Lost Audio

Audio stops completely when I plug in headphone and does not return even if I unplug it.

I googled and learned that this problem is being caused because my audio drivers are not properly loaded. so I ran this command sudo systemctl --user restart pipewire which gave me this error Failed to connect to bus: No medium found.