controller not connecting to pc controller just shuts off

im trying to use ps5 controller on my pc it connects and says in the corner add a device but when i go on that then select allow my controller just turns itself off.
Was this page helpful?