Bluetooth headset not pairing with the phone

When I first bought the phone it was working but now I can’t pair my headsets with the phone. I have tried four different Bluetooth headsets and everytime I get a message that the code is not correct or that I don’t have access to it. Someone else with the same problem?