You need to see a doctor. It could be a rib injury. But if you're having trouble breathing, you do need to find out.
Pain (or difficulty) breathing, accompanied by chest pain, is a matter worthy of emergency medical attention. Please visit an emergency department or urgent care at your earliest opportunity.