Review The Notice to Appear
Review the Notice to Appear, and make sure that the government is right when they say you are deportable. Often people will be placed in Deportation proceedings even though they are not deportable. Educate yourself about the grounds of deportability cited, and be prepared to tell the Immigration Judge why the law does not support your deportation.
Find Your Available Relief
If you are certain that the government is right and you are deportable, then you need to find the relief you have available. You may qualify for adjustment of status, or a waiver of inadmissibility, or you may qualify for Cancellation of Removal under Sec. 240A(a) or 240A(b) of the Immigration and Nationality Act. You may even qualify for 212(c) relief. If you have nothing else available, and you fear returning to your country, if is not a terrible idea to apply for Withholding of Removal -- so long as you case is true.