Lube question

So my boyfriend likes to do anal, but it hurts so bad. Would lube help or do I just need to get used to it?