How to attach ActorComponent to my Actor in C++

I understand USphereComponent* is like an existing built component. but what about custom components?