Can pills actually help with migraines?

Seek medical opinion. The source of the migraine is a very important component in deciding the correct treatment. If a pill now and again helps control the pain, then that may be a good answer, but until you know what causes the problem I would discusrage you from popping pills since that may mask an underlying condition. Once you know the cause, then your md can guide you in an appropriate treatment path.