If you do not remember injuring yourself it would be wise to call your Dr. on call for your clinic and see if he feels you need medical attention or just rest with pain medication.
If you are having any other symptoms that may be heart related, do visit your nearest Emergency Department.
I wish you well,
Kitt