If you've had symptoms for a few hours that are untreatable by medication (like I said), then you call your doctor. Your doctor will tell you whether or not to come in. If it's chronic old-person pain, your doctor will find that out, and tell you next steps.
If you've had symptoms for weeks/months, well, I guess that's probably not a heart attack, good job? Still should have gone in within the first day.