Hi Welcome to Windows Central. Would like to know the tweaking things you did. Windows 10 doesn't need to be optimized.
W10 has lots of ways to recover. I would try to restore to a earlier time before you started tweaking. If you need more help, please join the forum How to Use the Advanced Startup Options to Fix Your Windows 8 or 10 PC