Welcome to Android Central! As tube517 previously suggested, try going to Settings>Apps, select the Camera app, then Storage, then Clear Cache/Clear Data. If the problem keeps happening, then see if the problem persists in Safe Mode: https://support.t-mobile.com/docs/DOC-26757