From breastfeeding to bottle

Marti
Hi everyone! I have been breastfeeding my daughter for five weeks and she has a tummy ache. She swallows air while eating, I have to burp her for a long time and she cries. My question is - would it help if i started to pump and gave her the milk in a bottle? Does anyone have any experience about it? Thanks!:)