It is not that easy to get virus on a mobile phone. Does your galaxy have enough free space? You can restart your phone (so that you can do the following check if you literally cannot open anything now), then check storage usage on Settings> Storage, and see Total space/Available space. The problem might be caused by limited memory.