My labrador ran into me in exactly the same way on the beach. I was in tears it was so painful. But yes, keep it elevated, ice pack on for 10 mins, off for 10 mins, Ibuprofen etc Go easy on it and keep it moving gently without weight bearing. See Doc if it still hurts in a few days.