If you're in occassional discomfort and it's impacting your wellbeing having an aspirin once in a while is probably not a huge deal.
If you have recurring pain constantly or frequently then you need medical attention and you should follow that guidance, not what anybody says on the Internet.