Not if you're having a heart attack. That's a mechanical problem - your heart is gunked up with fatty crud and cannot pump blood. The symptoms are chest pain, sudden weakness, and shortness of breath. *Usually* you don't just drop to the floor clutching your chest.
You're thinking of a cardiac arrest, which is an electrical problem - your heart is not getting the right pulses to generate the right muscle contractions to pump. An AED will absolutely help here and you should not wait to start using it. Just grab the AED that's right there and open the lid, switch it on, and wait for it to start telling you what to do.
It's very unlikely it could ever shock a patient who wasn't actually having a cardiac arrest because they detect the heart's electrical signals and look for a "shockable rhythm". If the rhythm looks normal, or looks like one that won't be improved by a quick zap, it won't do it. Even so, never stick the pads on someone who isn't actually in cardiac arrest because if it gets it wrong it probably *would* drop them into cardiac arrest.
Pretty much every public space has a defib now. Often they're in a box with a locked door which you can get the code for from the emergency services operator. You're going to need to ring for an ambulance anyway so this doesn't waste time.
The main thing though is just start CPR and get someone to call an ambulance. You might just save someone's life with that, maybe even today.