There's not much information in this question. If X-Plane crashes, please make sure to send the automatic crash reports if it comes up.
You can try removing all add ons (plugins, custom scenery, etc) or deleting the preferences (found in the Output folder in the X-Plane folder).