Yes, dentists can prescribe medication to help patients relax during dental procedures. This may include nitrous oxide (which is inhaled through a mask), oral sedatives, or local anesthesia.