Hi Gustav1201,
Welcome to the Apple (user-to-user) Community.
Re: I would really appreciate if anyone knows how to fix this!
(1) If you haven't already, you might want to try wearing your AirPods,
and
on iPhone: Try Settings > Bluetooth > tap "Not Connected"
(2) You might want to check that you are only connecting AirPods to one device at a time. (Eg may not be switching between multiple devices.)
(3)You might want to reset your AirPods, then see if that has helped:
How to reset your AirPods and AirPods Pro
______________________________________
Else:
Apple Support have helpful articles online (links below):
How to: Connect your AirPods and AirPods Pro to your iPhone - Apple Support
How to: Set up AirPods with your Mac and other Bluetooth devices - Apple Support
How to: Change settings for AirPods Pro (all generations) – Apple Support
Trouble-shooting if needed:
What to do: If your AirPods won't connect - Apple Support
How to:
Resolve Wi-Fi and Bluetooth issues caused by wireless interference - Apple Support
___________________________________________________________
Re: I tried connecting them to a pc
Online Resource:
AirPods User Guide – Apple Support
Eg: Says:
Pair AirPods with an Apple device
NB: Pair AirPods with a non-Apple device.
More Support if needed:
AirPods Support Website:
Find all the topics, resources, and contact options you need for your AirPods....
AirPods Support - Official Apple Support
All the best :-)