I had extreamly intense sharp pain last night. Couldn't move and it hurt worse to breath. Did I have a heart attack?

Not likely. Sounds more like a lung issue or chest wall/muscle problem. If it persists or recurs, seek medical attention.
Heart attack. If you're still experiencing symptoms you should go to the er. Sharp pain is usually not the typical of a myocardial infarction. Also, it is not usual to have a heart attack at night and then go about your routine the next morning. Until a heart attack patient seeks assistance they usually continue to have symptoms.