Bluetooth isn't connected to two or more devices

Hi, I am facing a issue related bluetooth that when I connect to my bluetooth headset it gets connected and my bluetooth keyboard is disconnected and when I connected to keyboard my headset get disconnected. Please help me I am unable to solve this problem.
Thank you.

If your keyboard is a BTLE device, then this should be possible. If your keyboard has some kind of audio function, it might be a problem since the bluetooth spec is generally built around connecting to one paired device at a time. Otherwise, there are bluetooth hubs/routers for connecting more than one traditional bluetooth device at once.