Meditate has two meanings:
To think calm thoughts in order to relax or as a religious activity:
To think seriously about something for a long time:
Cambridge definition
I can understand the first meaning. But for the second meaning I don't know how or in what situation I can use.
For example, can I use it like this?
He meditated on the weird attitude of my girlfriend yesterday.