Smart phones in France

Hi all! I just wondered if anyone had any tips or ideas for taking my Iphone to France this summer? Would the best thing be to buy a pay as you go sim out there? It’s so expensive to access the web abroad…Any ideas?