1. Look both ways carefully before you cross the road.
2. Look at both ways carefully before you cross the road.
---------------------------
Which one is correct? Do we have to put 'at' after 'look' or not?
No, the use of "at" in the second sentence is incorrect.
An alternative to #1 is this:
Look carefully in both directions before you cross the road.