Goofball is a common slang term for a silly, clumsy, or endearingly foolish person. Alternatives vary by tone:
Choose based on your relationship with the person and the level of affection or sarcasm you intend.