Please don't take this the wrong way, and I am sure you will get other opinions:
In US Naval Aviation there is a term called aeronautically adaptable, which refers whether someone is psychologically fit to fly, whether they can psychologically deal with the rigors of flight.
In my opinion diving is not for everyone. Diving is a very dangerous activity. That danger and the inherent risks associated with it are mitigated through training and experience, but one must also have some psychological adaptiveness as well. If you consistently panic as soon as something goes awry and your default reaction is to race to the surface then you specifically are putting yourself at risk but are also potentially putting those you are diving with at risk too.
It sucks to be on the receiving end of being told that perhaps diving is not for you, and sucks as well to be in the position to suggest it as well. But if you are prone to panic and you can't control the urge/desire to head directly to the surface then you are a liability until you fix that within yourself.
Could you become more comfortable in the water and more psychologically adapted to being underwater? That depends on you....how good of a swimmer are you, how comfortable are you with putting your face in the water without a mask, how comfortable do you think you can become with those things. If you are unsure, then you should spend more time on the surface and spend less money on scuba and more money on just being comfortable and in control in the water at the surface and on breath held dives to the bottom of a pool.
It is great, to a point, that diving is so widely available, but for a high risk activity that requires one to be psychologically adaptable to the rigors of the activity and the environment, (and that environment is hostile to our natural ability to survive), I think the standards for entry into diving are awfully low. There is a reason for that...higher standards do not build wealth for training agencies, but that is another discussion all together.
-Z