If I am allergic to penicillin, can I take cephalexin?

beverly wylie