painful intercourse

I recently had sex with my boyfriend and it felt like a burning sensation and I had bled. it then was really painful to pee afterwards and continues to burn  bit. how can I fix it and what might it be from?