If your Switch is starting to warp, then it's likely a fluke of a manufacturing error.
Contact Nintendo and they will be able to do repair the switch or send you a new one(with all of your save data as well).
No use talking about this with us, when you can just get the problem fixed at the source.