Boyfriend

So somedays my boyfriend acts all sweet and loving and the next he ignores me and is rude and it's like a cycle of every other day he's like that...?? I don't understand..what should I do?