How long should I give formula a try?

KT
He's almost 3 weeks old were switching to formula we started yesterday and he's been fussy and not sleeping well since. Should I keep trying it or switch? He's doing Enfamil infant