for the body guys

if i use epoxy, how long do i wait before spraying hi bulid primer?
...how long i can leave epoxy primer without requiring sanding?