Hello
Most bluetooth or wifi issue can be resolved by doing a power reset.
To do so, turn off the computer, unplug the computer from the power cord, then hold down the power button for 30 seconds. Turn the computer back on to see if it works.
If not, go to this HP page: https://support.hp.com/us-en/drivers/swdetails/hp-pavilion-laptop-pc-15-eg2000/2101006330/swItemId/ob-338369-1
Download and install this driver, and see if it helps.
Note: This is not Microsoft website/URL, but it is the official OEM/manufacturer site.