You will need to reset the monitor configuration in settings. As a last ditch option, if you don't remember how it was configured before, you can completely reset your preferences to get the same settings as when you first launched X-Plane.
Move the preferences folder (found in the Output folder) to the desktop, then restart X‑Plane and default preferences will be restored. If the default preferences do not fix your problem, you can simply replace them with the folder you moved to the desktop and restore your personalized settings.