Pain management through exercise