Visual Studio freezes or hangs on startup

I have been using Visual studio for a while and found that when I open visual studio and open the project all the files that were open last time remain open. This causes my Visual Studio to freeze...