Try checking your settings for the driving mode being on, and check to see if the quiet time is on. Some phones now have a setting that while you're at a certain location your phone won't make or receive calls nor texts. Just go through your settings and check everything.
If all else fails a factory reset should take care of the problem if it's a setting that accidentally got turned on.
I hope this is helpful.