If you’re not jailbroken, you need to reinstall MInecraft PE. Sorry!
If you are jailbroken, read the instructions for Android.
Find your Minecraft PE folder
Edit the line that says ‘mp_username:’
Change it to ‘mp_username:yourusername‘