I remember once having some back pain, and the teacher told me that they usually do not take any medication before dancing. The reason they gave was they wanted to be able to listen to their body better. In this way they were less likely to injure themselves further. Fortunately for me I have not had any serious injuries that cause me to really load up on any sort of drug. But I have sometimes taken and Advil if I was experiencing some minor discomfort as I thought it might enhance my mood when I went dancing. But I don't make a habit of taking it on a regular basis. If I am in a lot of pain, which is very rare, I would just stay home.