"Pain" is used more frequently than "pains" in most English text. While both your sentences are correct and valid, the second form is not as common.
The most frequent use of "pains" as a noun is with the phrase "growing pains" which describes someone who's going through growth, but also has pains while they are growing.