There are loads to do and see.
I suggest you get the Hop on Hop off bus which stops just outside the port. Costs 26 Euros but worth it if you want to get a taste of the place without much effort. There are 3 routes which you can join. Be aware the queues can get long during peak times.
Ramblas is a must. Go early if you can to avoid the crowds.