It may be a resource problem. Go to Settings, Battery and Device Care, then check storage and memory. You can use the Optimise now option to see what it clears up. If Memory is tight then click on it to see what is using it. Use Clean now option. If storage is short then look to delete apps or move them to an SD card. Most J3/J4 support SD cards. Good luck.