How do you get past waterfall?

go to the end of sunnyshore city and talk to the girl standing on the beach. she will give you the HM waterfall