Some anxiety symptoms may be caused by allergies. Being tested for allergies might be a good idea, as well as avoiding food with a lot dyes and preservatives.
If you worry about remembering to turn off the oven or lock the doors, talk to yourself when you do these things. In a very loud voice say to yourself, "I am locking the door. I have locked the back door."