Have you created a Makefile for Questa? Have you read the Questa User Manual on how to compile, elaborate and simulate a design? Have you read about the various command line options needed to run a UVM simulation?
A lot of work goes into writing the user manuals. You should read them.