Dr said to try anti anxiety meds..

So my dr said to try anti anxiety meds bcuz I’ve developed a fear of trains as I’m claustrophobic.

Now I literally feel sad and low. Like I don’t mind taking meds but why prescribe it that fast without helping me cope with the fear?