What would happen if you took allergy pills if you didn't have any allergies?

Probably nothing. Most antihistamines are safe and effective when taken as directed so they probably would't cause a problem if you took them even when you weren't having an allergy problem.