I'd check the frame's alignment (string from rear DO, around head tube and back to other side DO then measure string to seat tube - should be same distance on both sides). If the alignment is off, I'd return it as there is more than just a dent in the tube. If the alignment checks OK, I'd ride it.