Hi there!
Short answer: yes it's usually safe, I take something like it, and yes it usually works.
Long answer:
I am so glad that you asked about imitrex! I take a triptan, like imitrex, and personally I think that triptans are the best treatment for acute migraines, and they are also the most prescribed medication for acute migraines. It's important though to let you know that I am not a doctor and I am not a pharmacist, so if you ever have any questions about medications and their safety, one of the best places to ask on medhelp is in the "Ask A Pharmacist" Forum which you can get to here:
http://www.medhelp.org/forum_disclaimers/show/296
Or you could ask your own pharmacist where you will fill the prescription, they will be happy to let you know all about imitrex, how to take it, and what the possible side effects are and what medical conditions and medications you should not mix it with. Even if a doctor prescribes you something, it is always a good idea to check with your pharmacist just to make sure there aren't any medication mixing issues because not every doctor will have your entire medical history and current medications, but your local pharmacist SHOULD have that all on file and if they don't you can let them know everything when you fill the prescription.
Now... as for what I do know... imitrex is a medication that is for migraines and it is one of the BEST classes of medication for migraines because it actually interrupts the physiology of the migraine... I will talk more about this in a little bit to answer your question about what it does and how it works... but I have to get into what happens during a migraine so it's a bit of a long answer so first I'll answer a few more of your other questions...
I get migraines as well and although I do not take imitrex, I to take a triptan, which is what imitrex is. The triptan that I take is called zomig, and I take a nasal spray version. There are lots of triptans on the market and imitrex is one of the first, the generic name is called sumatriptan and it is what they will give you in the hospital, but by injecteion, if you ever go in for a migraine... they won't give you any other triptan at the hospital usually because sumatriptan by injection is pretty much the best triptan out there!! But, the names of some other triptans are maxalt, axert, zomig (like i take) ... etc. There are lots on the market so if imitrex doesn't work for you, there are more you can try that might work better for you.
Are triptans safe? Well, for a normal healthy adult who isn't on any other medications YES they are VERY SAFE!!! And in that situation, for migraines, they are the BEST type of migraine medication to use unless you suffer from "basilar migraine" or "Hemiplegic migraine" ... but it does not sound like you suffer from either of these conditions, it sounds like you suffer from regular migraines, and anyway your doctor would not have prescribed imitrex if it was not the right medication for your type of migraine.
When are triptans not safe? Well... if you are taking some types of very old antidepressants called MAOIs or if you are taking some types of more regularly prescribed antidepressants in VERY high dosages but often it is still safe but your doctor or pharmacist will let you know if there is a possible interaction. I take a antidepressant and a triptan and there is NO problem for me... so it is only sometimes, in some situations, with some antidepressants that there is a problem. Also, if you have some medical conditions, heart conditions are really the only ones I can think of actually, it is not safe to take triptans. I do not think that your sometimes high blood pressure counts at all as a heart condition in this case... it is usually only if you have a very serious heart condition... but if your blood pressure is caused by an underlying heart condition that is serious, please phone your doctor just to double check about the heart condition and triptan interaction. I know that a lot of people here have high blood pressure and use triptans, and I have a very high pulse and take blood pressure medication and still use triptans... so I am pretty sure your high blood pressure thing is fine... but check with your doctor if you are not sure.
So... the last question. Does it work? Well... it depends when you take it and what type of a triptan you have, really. If you take your triptan, the imitrex, at the first sign of a migraine, YES it will work!! If you wait to take it until the headache is very bad, then it may not work as well. If you wait a very long time and the headache has been going on for a long time, then it probably will not work, but, if you haven't tried it at all then it is usually worth a shot, and they will give it to you in the hospital if you go to the hospital with a migraine and you haven't taken it yet. But, if you take it RIGHT AWAY then yes it will work. For some very few people, triptans don't work, especially if you suffer from chronic migraines... but that is because not all medication works for everyone.... but for most migraine sufferers, especially for occasional migraine sufferers, triptans are the best medication if taken at the first signs of a migraine.
Now... how long it will take to work all depends on what type of form you have the medication in... a tablet, a quick dissolve tablet, a nasal spray or an injection. If you have it in a tablet, it may take up to 2 hours to work... and I am just being honest there. A tablet form can work much faster than that, and usually will work in ONE HOUR.... but worst case scenario it can take 2 hours to work. That is why I always strongly suggest quick dissolve tablets or nasal sprays... or for people who suffer very hard to treat migraines or chronic migraines, injections. But, good news!! If you actually have a prescription for IMITREX then even their regular tablet is quick dissolve... just make sure that the pharmacy doesn't try to give you a generic version of the sumatriptan in a non-quick dissolve tablet instead of the brand-name imitrex version which automatically comes in a quick dissolve tablet. Imitrex ALSO comes in a nasal spray and an injection. The imitrex tablet should work in HALF AN HOUR. The imitrex nasal spray can work in 10-20 minutes.... same with the injection pretty much. But, if you ever get a prescription for a triptan that is NOT imitrex, make sure that it is a quick dissolve tablet or a nasal spray... the only two nasal sprays I know of are imitrex and zomig (what I take) and the only quick dissolve tablets I know of are imitrex, zomig and maxalt.