Welcome to the Lightroom Community. I'll need more info to help you figure this out. What version of Lightroom Classic & the operating system are you working on?
If Lightroom crashes right when you switch to the Develop module, go to Lightroom > Preferences > Performance > Use Graphics Processor > Set it to Off if it is on Custom or Auto. If this shows you any differences, please check this article to troubleshoot further: https://helpx.adobe.com/lightroom-classic/kb/troubleshoot-gpu.html