whats the best way to deal with a pulled muscle

I pulled a muscle in my thigh from doing squats and it hurts pretty bad. Would like to know if there's something I can do to help it so it doesn't hurt so bad like take Aleve or Tylenol or if there's something else. Or do I just have to deal with it.