[Routine Help] Can I use niacinamide and differin at the same time?

I'm going to start using prescription Differin Gel 0,1%, as I have mild acne. In addition to that, I've recently started using this moisturizer that I searched on here and could only find people talking about the version with SPF on and mine doesn't have it. This one does have niacinamide tough.I also use the CeraVe foaming facial cleanser. I don't want to waste the money on differin because in my country it's expensive, or worse, leave my face more of a mess, by using it wrong or using it with the wrong products.This is my current routine:

AM:

- Cleanse with CeraVe Foaming Facial Cleanser

- Moisturize with Cerave Facial Moisturising Lotion

- SPF with Eucerin Oil Control

PM:

- Cleanse with CeraVe Foaming Facial Cleanser

- Moisturize with Cerave Facial Moisturising Lotion

Also, do I put the differin on first or the moisturizer first?

Thank you all for your answers.