Hi @Kumar25, let me see if I can be of any help here!
You might experience that the message "Camera used by another app. Close the other app and try again." appears when you open the camera app on your Xperia device. Sometimes an app can be using the camera in the background, and it may be difficult to identify which app to close. Therefore you should try restarting your device.