What course of action is available to someone that was wrongly sent to an El Salvadorian prison?

What happens if a non gang member or a US citizen was accidentally sent there? What could be done to rectify the situation?