HI,
You can take your baby to beach shore . Take few precautions. Like breast feeding regularly. Deciding time of visit when sun is not harsh. Wearing proper clothing to prevent heat exhaustion, burns. You can use Hats which looks adorable on small kids . Enjoy your visit.