Pain in stomach muscles and ribs

No
I went out last night and I live right near the beach, so t was pretty cool and windy. I also ate ice cream. When I came home I felt so hot I payed directly in front of a cold Air conditioner and a hour late the muscles and ribs in my stomach to hurt . It felt like I pulled a muscle or got punched. Woke up thinking it will go away but it's still hurting a lot . Especially when I breathe. What can I do.