first time anal

Yesterday , my boyfriend of almost 4 years and I decided to try anal for the first time ever. As  he started to put it in , it kind of felt good. Then as he put it more I felt this horrible pain, so I immediately jump up. Now the morning after my hole really hurts . How can I make it stop hurting ? When will it stop hurting ?