When you are permanently barred, you have to wait outside the United States for ten years before you can even ask to come back into the United States. For family-based and employment-based green cards, there is no waiver during this time, and the waiting period does not even start until you have left the country. Limited exceptions exist for some victims of domestic violence (VAWA), crime victims (U visa), trafficking victims (T visa), some children with Special Immigrant Juvenile Status, people applying for TPS, and people afraid of persecution or torture at home (asylum, withholding of removal, or protection under the Convention Against Torture). If any of these might fit you, speak to an attorney before you leave the United States.
Even after the ten years have expired, you have to ask for special permission to return to the country. The government has a lot of discretion to grant or deny the request. To get approved, you would have to demonstrate some especially compelling circumstances.
🛑 Coming back into the United States without permission after a removal can also be charged as a federal crime. If you are stopped or detained, you can still tell the officer right away that you are afraid to return home, and you can ask to speak with a lawyer before answering other questions. What you tell an immigration lawyer you consult is confidential.