What version of InDesign?
We have provided an update to CC2018 to addressed crashes and bugs.(If the updates are not available select "Check for app updates" option in Creative cloud application.)
Refer Release notes - https://helpx.adobe.com/indesign/release-note/indesign-cc-13-0-1.html
If you still face issue, Please restart your machine.
I've experienced this bug before. It has to do with a crash recovery that involves an InDesign library that is hosted on a server. Adobe did release its own patch for this issue, and Sanyamt has provided a link to it. Run the patch and let us know if that solves the issue.