What happens when the nail separates from the flesh and there is a slight pain?

Most patients present with separation of nail and flesh without nail pain, but if a patient develops separation of nail and flesh because of an injury to the nail or an active infection of the nail, such as bacterial onychomycosis, nail pain may occur, at which point the patient needs to be seen and treated promptly.