This should always be your initial fix. A good policy is to decompile the database before each release.
Create a decompile shortcut. This loads the database with a "/decompile" switch.
/decompile
Open Database with Shift.
Hold down the shift key while double clicking on this shortcut.
This prevents any auto runs from executing within the database.
You should go straight to the navigation window.
Compact and Repair the database. Once the database is loaded, you will need to click the Compact and Repair button.
Recompile the Database
This is the complete decompile process. Generally it should fix 99% of all Access crashes or weird form behaviour.