cook diced onion, finely chopped garlic and ground beef until cooked through, using salt and pepper to taste. Add 1/4 of the can of enchilada sauce to meat stir until absorbed on low heat.
Spray 8x8 pan with non stick cooking spray. spoon and spread a tablespoon or two of sauce into bottom of pan and spread evenly. place an even layer of tortillas. place half of meat mixture and then cubes (dallops of cream cheese randomly over meat mixture, pour 1/2 can of sauce over layer. Repeat layer. Top last layer with tortillas and remaining sauce and shredded cheese.
Bake at 350 for 30 minutes or unitl heated through and cheese bubbles.