Physical feelings vs emotional feelings?

Can we use our thoughts to change physical feelings with regards to known medical conditions?
I get that you can feel better by how you think about your health and how to take action for treatments, but when having a bad attack other than being kind to yourself if there any advice?