In this case, shortness of breath may be the only warning sign you're having a heart attack. If you or your GP think this is the case, they'll give you aspirin and admit you to hospital straight away. Heart failure can also cause breathing difficulties.